X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/77ffb5937e89927b621128789401db8921fe580f..c781c31638cc5ae06eb325567323f131e8183a75:/include/wx/generic/dirdlgg.h diff --git a/include/wx/generic/dirdlgg.h b/include/wx/generic/dirdlgg.h index 1a8a959c6a..a076fa4ada 100644 --- a/include/wx/generic/dirdlgg.h +++ b/include/wx/generic/dirdlgg.h @@ -9,7 +9,7 @@ // Created: 21/3/2000 // RCS-ID: $Id$ // Copyright: (c) Robert Roebling, Harm van der Heijden, Julian Smart -// Licence: wxWidgets licence +// Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// #ifndef _WX_DIRDLGG_H_ @@ -24,12 +24,18 @@ class WXDLLEXPORT wxTextCtrl; class WXDLLEXPORT wxTreeEvent; // we may be included directly as well as from wx/dirdlg.h (FIXME) -WXDLLEXPORT_DATA(extern const wxChar*) wxDirDialogNameStr; -WXDLLEXPORT_DATA(extern const wxChar*) wxDirSelectorPromptStr; +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"