]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/dirdlg.h
correct access for virtuals
[wxWidgets.git] / include / wx / dirdlg.h
index 23fe09d0feb2465de9165c714e7ce2556f5034db..401eeda50f531366e6253692addb46806d2e8f26 100644 (file)
@@ -69,10 +69,14 @@ protected:
 
 
 // Universal and non-port related switches with need for generic implementation
-#if defined(__WXMSW__) && (defined(__WXUNIVERSAL__) || \
-                           defined(__SALFORDC__)    || \
-                           !wxUSE_OLE               || \
-                           (defined (__GNUWIN32__) && !wxUSE_NORLANDER_HEADERS))
+#if defined(__WXUNIVERSAL__)
+
+    #include "wx/generic/dirdlgg.h"
+    #define wxDirDialog wxGenericDirDialog
+
+#elif defined(__WXMSW__) && (defined(__SALFORDC__)    || \
+                             !wxUSE_OLE               || \
+                             (defined (__GNUWIN32__) && !wxUSE_NORLANDER_HEADERS))
 
     #include "wx/generic/dirdlgg.h"
     #define wxDirDialog wxGenericDirDialog