#pragma interface "dirctrlg.h"
#endif
+#if wxUSE_DIRDLG || wxUSE_FILEDLG
+ #include "wx/imaglist.h"
+#endif
+
#if wxUSE_DIRDLG
#include "wx/treectrl.h"
{
public:
wxDirItemData(const wxString& path, const wxString& name, bool isDir);
- ~wxDirItemData();
+ ~wxDirItemData(){}
void SetNewDirName(const wxString& path);
bool HasSubDirs() const;
int image = -1, int selectedImage = -1,
wxTreeItemData * data = NULL);
//void FindChildFiles(wxTreeItemId id, int dirFlags, wxArrayString& filenames);
+ virtual wxTreeCtrl* CreateTreeCtrl(wxWindow *parent, wxWindowID id, const wxPoint& pos, const wxSize& size, long treeStyle);
// Extract description and actual filter from overall filter string
bool ExtractWildcard(const wxString& filterStr, int n, wxString& filter, wxString& description);
void Init();
- ~wxDirFilterListCtrl() {};
+ ~wxDirFilterListCtrl() {}
//// Operations
void FillFilterList(const wxString& filter, int defaultFilter);
#define wxID_TREECTRL 7000
#define wxID_FILTERLISTCTRL 7001
+#endif // wxUSE_DIRDLG
+
//-------------------------------------------------------------------------
// wxFileIconsTable - use wxTheFileIconsTable which is created as necessary
//-------------------------------------------------------------------------
+#if wxUSE_DIRDLG || wxUSE_FILEDLG
+
class WXDLLEXPORT wxFileIconsTable
{
public:
};
// The global fileicons table
-WXDLLEXPORT_DATA(extern wxFileIconsTable *) wxTheFileIconsTable;
+extern WXDLLEXPORT_DATA(wxFileIconsTable *) wxTheFileIconsTable;
-#endif // wxUSE_DIRDLG
+#endif // wxUSE_DIRDLG || wxUSE_FILEDLG
#endif
// _WX_DIRCTRLG_H_