]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/dirdlg.h
Fix so OGL can build without wxBuffer
[wxWidgets.git] / include / wx / dirdlg.h
index 63a01f17144a5b2a8f86e600c8042c864ed5358a..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,12 +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
 
 // ----------------------------------------------------------------------------