#pragma interface "dirctrlg.h"
#endif
+#if wxUSE_DIRDLG || wxUSE_FILEDLG
+ #include "wx/imaglist.h"
+#endif
+
#if wxUSE_DIRDLG
#include "wx/treectrl.h"
#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;
-#endif // wxUSE_DIRDLG
+#endif // wxUSE_DIRDLG || wxUSE_FILEDLG
#endif
// _WX_DIRCTRLG_H_
#pragma hdrstop
#endif
-#if wxUSE_DIRDLG
+#if wxUSE_DIRDLG || wxUSE_FILEDLG
#include "wx/generic/dirctrlg.h"
-
#include "wx/module.h"
#include "wx/utils.h"
#include "wx/button.h"
}
#endif // __WINDOWS__ || __OS2__
+#endif // wxUSE_DIRDLG || wxUSE_FILEDLG
+
+
+
+#if wxUSE_DIRDLG
// Function which is called by quick sort. We want to override the default wxArrayString behaviour,
// and sort regardless of case.
SetSelection(defaultFilter);
}
}
+#endif // wxUSE_DIRDLG
+#if wxUSE_DIRDLG || wxUSE_FILEDLG
// ----------------------------------------------------------------------------
// wxFileIconsTable icons
#endif // wxUSE_MIMETYPE/!wxUSE_MIMETYPE
}
-#endif // wxUSE_DIRDLG
+#endif // wxUSE_DIRDLG || wxUSE_FILEDLG