X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/f4fffffc953f68af6c968419da446a9b2e536693..2eef85139b69a67ca067e5eba6b85336d21ad0dc:/include/wx/generic/dirdlgg.h?ds=sidebyside diff --git a/include/wx/generic/dirdlgg.h b/include/wx/generic/dirdlgg.h index 9453d84505..a71b15bf78 100644 --- a/include/wx/generic/dirdlgg.h +++ b/include/wx/generic/dirdlgg.h @@ -15,10 +15,6 @@ #ifndef _WX_DIRDLGG_H_ #define _WX_DIRDLGG_H_ -#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) -#pragma interface "dirdlgg.h" -#endif - class WXDLLEXPORT wxGenericDirCtrl; class WXDLLEXPORT wxTextCtrl; class WXDLLEXPORT wxTreeEvent; @@ -27,9 +23,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"