X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/74d8ead3f25543bb2c5b8caace04bff0ec377214..30e13695172732216d90b578db80f3c07e6b9544:/include/wx/generic/dirdlgg.h diff --git a/include/wx/generic/dirdlgg.h b/include/wx/generic/dirdlgg.h index cf0ae90d94..a71b15bf78 100644 --- a/include/wx/generic/dirdlgg.h +++ b/include/wx/generic/dirdlgg.h @@ -15,21 +15,23 @@ #ifndef _WX_DIRDLGG_H_ #define _WX_DIRDLGG_H_ -#ifdef __GNUG__ -#pragma interface "dirdlgg.h" -#endif - class WXDLLEXPORT wxGenericDirCtrl; 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" @@ -82,6 +84,7 @@ protected: wxTextCtrl* m_input; DECLARE_EVENT_TABLE() + DECLARE_DYNAMIC_CLASS(wxGenericDirDialog) }; #endif // _WX_DIRDLGG_H_