]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/dirdlg.h
1. extracted MSW-specific part of wxDynamicLibrary in msw/dlmsw.cpp
[wxWidgets.git] / include / wx / dirdlg.h
index b9e6edd3a6183afb6901821e28c0960ba5c9d463..83c9ed5ea839e8e1cc6e8bd8b0725e47a19d819a 100644 (file)
@@ -43,11 +43,16 @@ public:
 */
 
 // Universal and non-port related switches with need for generic implementation
-#if defined(__WXUNIVERSAL__) || \
-    defined(__WXWINCE__)     || \
-    defined(__SALFORDC__)    || \
-    !wxUSE_OLE               || \
-    (defined (__GNUWIN32__) && !wxUSE_NORLANDER_HEADERS)
+#if defined(__WXMSW__) && (defined(__WXUNIVERSAL__) || \
+                           defined(__SALFORDC__)    || \
+                           !wxUSE_OLE               || \
+                           (defined (__GNUWIN32__) && !wxUSE_NORLANDER_HEADERS))
+
+    #include "wx/generic/dirdlgg.h"
+    #define wxDirDialog wxGenericDirDialog
+
+// MS PocketPC or MS Smartphone
+#elif defined(__WXMSW__) && defined(__WXWINCE__) && !defined(__HANDHELDPC__)
 
     #include "wx/generic/dirdlgg.h"
     #define wxDirDialog wxGenericDirDialog