X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/9b1414681c6134c9d70b0d9cd58b89b07ae41249..f6840be66eb772c08f0cbb43de677509d5d132bb:/include/wx/dirdlg.h diff --git a/include/wx/dirdlg.h b/include/wx/dirdlg.h index d2d38c0bdd..c1d0a50fd4 100644 --- a/include/wx/dirdlg.h +++ b/include/wx/dirdlg.h @@ -9,9 +9,9 @@ // constants // ---------------------------------------------------------------------------- -WXDLLEXPORT_DATA(extern const wxChar*) wxDirDialogNameStr; -WXDLLEXPORT_DATA(extern const wxChar*) wxDirDialogDefaultFolderStr; -WXDLLEXPORT_DATA(extern const wxChar*) wxDirSelectorPromptStr; +extern WXDLLEXPORT_DATA(const wxChar*) wxDirDialogNameStr; +extern WXDLLEXPORT_DATA(const wxChar*) wxDirDialogDefaultFolderStr; +extern WXDLLEXPORT_DATA(const wxChar*) wxDirSelectorPromptStr; #define wxDD_DEFAULT_STYLE \ (wxDEFAULT_DIALOG_STYLE | wxRESIZE_BORDER | wxDD_NEW_DIR_BUTTON) @@ -51,8 +51,8 @@ public: #include "wx/generic/dirdlgg.h" #define wxDirDialog wxGenericDirDialog -// MS Smartphone -#elif defined(__SMARTPHONE__) && defined(__WXWINCE__) +// MS PocketPC or MS Smartphone +#elif defined(__WXMSW__) && defined(__WXWINCE__) && !defined(__HANDHELDPC__) #include "wx/generic/dirdlgg.h" #define wxDirDialog wxGenericDirDialog