]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/dirdlg.h
reverted Julian's unintentional breakage of wxChoice
[wxWidgets.git] / include / wx / dirdlg.h
index 7d8682927afe0ba1017cb757acf7fcdc0584f1aa..5b0dacfef85deb62c8a8256a83dad48d894c1042 100644 (file)
@@ -12,8 +12,9 @@ WXDLLEXPORT_DATA(extern const wxChar*) wxDirDialogDefaultFolderStr;
 WXDLLEXPORT_DATA(extern const wxChar*) wxEmptyString;
 
 #if defined(__WXMSW__)
-    #if defined(__WIN16__) || (defined(__GNUWIN32__) && !wxUSE_NORLANDER_HEADERS) || defined(__SALFORDC__)
+    #if defined(__WIN16__) || (defined(__GNUWIN32__) && !wxUSE_NORLANDER_HEADERS) || defined(__SALFORDC__) || !wxUSE_OLE
         #include "wx/generic/dirdlgg.h"
+        #define wxDirDialog wxGenericDirDialog
     #else
         #include "wx/msw/dirdlg.h"
     #endif
@@ -21,14 +22,14 @@ WXDLLEXPORT_DATA(extern const wxChar*) wxEmptyString;
     #include "wx/generic/dirdlgg.h"
 #elif defined(__WXGTK__)
     #include "wx/generic/dirdlgg.h"
+#elif defined(__WXX11__)
+    #include "wx/generic/dirdlgg.h"
 #elif defined(__WXMGL__)
     #include "wx/generic/dirdlgg.h"
 #elif defined(__WXMAC__)
     #include "wx/mac/dirdlg.h"
 #elif defined(__WXPM__)
-    #include "wx/os2/dirdlg.h"
-#elif defined(__WXSTUBS__)
-    #include "wx/stubs/dirdlg.h"
+    #include "wx/generic/dirdlgg.h"
 #endif
 
 // ----------------------------------------------------------------------------