]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/dirdlg.h
refactored code to do brush adjustment for bg drawing in only one place
[wxWidgets.git] / include / wx / dirdlg.h
index bf8053e4e7860bcd904eee23385feaac856753df..d2d38c0bdde9ed57485f5d72681f99916cc050f7 100644 (file)
@@ -44,7 +44,6 @@ public:
 
 // Universal and non-port related switches with need for generic implementation
 #if defined(__WXMSW__) && (defined(__WXUNIVERSAL__) || \
-                           defined(__SMARTPHONE__)  || \
                            defined(__SALFORDC__)    || \
                            !wxUSE_OLE               || \
                            (defined (__GNUWIN32__) && !wxUSE_NORLANDER_HEADERS))
@@ -52,6 +51,12 @@ public:
     #include "wx/generic/dirdlgg.h"
     #define wxDirDialog wxGenericDirDialog
 
+// MS Smartphone
+#elif defined(__SMARTPHONE__) && defined(__WXWINCE__)
+
+    #include "wx/generic/dirdlgg.h"
+    #define wxDirDialog wxGenericDirDialog
+
 // Native MSW
 #elif defined(__WXMSW__)