]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/generic/dirctrlg.h
don't select first hit in index if it is multi-topic entry, it causes a dialog to...
[wxWidgets.git] / include / wx / generic / dirctrlg.h
index 0c5627ca0861d31e7719bc1aea62e722e16b07e1..d9680ecaeac3fd47a420f4bc348e80fd2f803a04 100644 (file)
 #pragma interface "dirctrlg.h"
 #endif
 
+#if wxUSE_DIRDLG || wxUSE_FILEDLG
+    #include "wx/imaglist.h"
+#endif
+
 #if wxUSE_DIRDLG
 
 #include "wx/treectrl.h"
@@ -242,10 +246,14 @@ protected:
 #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:
@@ -278,7 +286,7 @@ protected:
 // The global fileicons table
 WXDLLEXPORT_DATA(extern wxFileIconsTable *) wxTheFileIconsTable;
 
-#endif // wxUSE_DIRDLG
+#endif // wxUSE_DIRDLG || wxUSE_FILEDLG
 
 #endif
     // _WX_DIRCTRLG_H_