35     m_UseRelativePaths(useRelativePaths),
    40     XRCCTRL(*
this, 
"wxID_OK", 
wxButton)->SetDefault();
    44     for (
unsigned int i = 0; i < m_Array.GetCount(); ++i)
    50         else if (m_UseRelativePaths && fname.
IsAbsolute())
    53         list->Append(m_Array[i]);
    68         for (
int i = 0; i < (int)list->GetCount(); ++i)
    85                     wxFD_OPEN | compatibility::wxHideReadonly);
   102                     list->GetStringSelection(),
   104                     wxFD_OPEN | compatibility::wxHideReadonly);
   106     if (dlg.ShowModal() != 
wxID_OK)
   109     fname.
Assign(dlg.GetPath());
   112     list->SetString(list->GetSelection(), fname.
GetFullPath());
   120         list->Delete(list->GetSelection());
   126     bool en = XRCCTRL(*
this, 
"lstItems", 
wxListBox)->GetSelection() != -1;
   127     XRCCTRL(*
this, 
"btnEdit", 
wxButton)->Enable(en);
   128     XRCCTRL(*
this, 
"btnDelete", 
wxButton)->Enable(en);
 
void EndModal(int retCode)
void Assign(const wxFileName &filepath)
bool IsAbsolute(wxPathFormat format=wxPATH_NATIVE) const
DLLIMPORT wxString GetFilterAll()
Generates a simple special filter "All files". 
bool MakeRelativeTo(const wxString &pathBase=wxEmptyString, wxPathFormat format=wxPATH_NATIVE)
virtual wxString GetPath() const
const wxString & _(const wxString &string)
DLLIMPORT void PlaceWindow(wxTopLevelWindow *w, cbPlaceDialogMode mode=pdlBest, bool enforce=false)
bool IsRelative(wxPathFormat format=wxPATH_NATIVE) const
~EditArrayFileDlg() override
void OnUpdateUI(wxUpdateUIEvent &event)
size_t Add(const wxString &str, size_t copies=1)
bool Normalize(int flags=wxPATH_NORM_ALL, const wxString &cwd=wxEmptyString, wxPathFormat format=wxPATH_NATIVE)
void OnAdd(wxCommandEvent &event)
static wxXmlResource * Get()
void EndModal(int retCode) override
void OnDelete(wxCommandEvent &event)
void OnEdit(wxCommandEvent &event)
wxString GetFullPath(wxPathFormat format=wxPATH_NATIVE) const
wxObject * LoadObject(wxWindow *parent, const wxString &name, const wxString &classname)
DLLIMPORT int cbMessageBox(const wxString &message, const wxString &caption=wxEmptyString, int style=wxOK, wxWindow *parent=NULL, int x=-1, int y=-1)
wxMessageBox wrapper.