]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/generic/dirdlgg.h
Applied patch [ 1181975 ] [wxMSW] Removes all flicker from wxNotebook
[wxWidgets.git] / include / wx / generic / dirdlgg.h
index 9453d845053932855c0f504ff02e616b8bfe478f..a076fa4ada4e54413480de3451064fd0973706af 100644 (file)
@@ -27,9 +27,15 @@ class WXDLLEXPORT wxTreeEvent;
 extern WXDLLEXPORT_DATA(const wxChar*) wxDirDialogNameStr;
 extern WXDLLEXPORT_DATA(const wxChar*) wxDirSelectorPromptStr;
 #ifndef wxDD_DEFAULT_STYLE
+
+#ifdef __WXWINCE__
+    #define wxDD_DEFAULT_STYLE \
+        (wxDEFAULT_DIALOG_STYLE | wxDD_NEW_DIR_BUTTON)
+#else
     #define wxDD_DEFAULT_STYLE \
         (wxDEFAULT_DIALOG_STYLE | wxRESIZE_BORDER | wxDD_NEW_DIR_BUTTON)
 #endif
+#endif
 
 #include "wx/dialog.h"