X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/06cc1fb991aa0b6ec8966627d3c6d6bd0ade04be..0c05fdf3570e8066b8a9a16627562e544306a678:/include/wx/generic/dirctrlg.h?ds=sidebyside diff --git a/include/wx/generic/dirctrlg.h b/include/wx/generic/dirctrlg.h index 518749de47..43dc914c23 100644 --- a/include/wx/generic/dirctrlg.h +++ b/include/wx/generic/dirctrlg.h @@ -15,7 +15,7 @@ #ifndef _WX_DIRCTRL_H_ #define _WX_DIRCTRL_H_ -#if defined(__GNUG__) && !defined(__APPLE__) +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "dirctrlg.h" #endif @@ -163,9 +163,13 @@ public: virtual void ReCreateTree(); protected: - void ExpandDir(wxTreeItemId parentId); - void CollapseDir(wxTreeItemId parentId); - void AddSection(const wxString& path, const wxString& name, int imageId = 0); + virtual void ExpandDir(wxTreeItemId parentId); + virtual void CollapseDir(wxTreeItemId parentId); + virtual const wxTreeItemId AddSection(const wxString& path, const wxString& name, int imageId = 0); + virtual wxTreeItemId AppendItem (const wxTreeItemId & parent, + const wxString & text, + int image = -1, int selectedImage = -1, + wxTreeItemData * data = NULL); //void FindChildFiles(wxTreeItemId id, int dirFlags, wxArrayString& filenames); // Extract description and actual filter from overall filter string