X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/1e6d94998fcbdb3ce60774e38c0d4b6ee20c6798..f8c4475a3e579655f6a962822824596a7a9cfb66:/include/wx/generic/dirdlgg.h?ds=sidebyside diff --git a/include/wx/generic/dirdlgg.h b/include/wx/generic/dirdlgg.h index 10fefdce31..675bf147b1 100644 --- a/include/wx/generic/dirdlgg.h +++ b/include/wx/generic/dirdlgg.h @@ -54,15 +54,19 @@ #pragma interface "dirdlgg.h" #endif +#include "wx/defs.h" + +#if wxUSE_DIRDLG + #include "wx/dialog.h" -//#include "wx/checkbox.h" +#include "wx/checkbox.h" #include "wx/treectrl.h" //----------------------------------------------------------------------------- // data //----------------------------------------------------------------------------- -WXDLLEXPORT_DATA(extern const char*) wxFileSelectorPromptStr; +WXDLLEXPORT_DATA(extern const wxChar*) wxFileSelectorPromptStr; //----------------------------------------------------------------------------- // classes @@ -82,7 +86,7 @@ class WXDLLEXPORT wxDirDialog: public wxDialog public: wxDirDialog(wxWindow *parent, const wxString& message = wxFileSelectorPromptStr, - const wxString& defaultPath = "", + const wxString& defaultPath = wxEmptyString, long style = 0, const wxPoint& pos = wxDefaultPosition); inline void SetMessage(const wxString& message) { m_message = message; } inline void SetPath(const wxString& path) { m_path = path; } @@ -116,6 +120,8 @@ class WXDLLEXPORT wxDirDialog: public wxDialog void doSize(); }; +#endif + #endif // _WX_DIRDLGG_H_