X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/0659e7ee61824b55b986995edabf55f0111376ae..2df7be7f2cca699a02ee0c9ce69de9bfe6b0922f:/include/wx/generic/dirdlgg.h?ds=inline diff --git a/include/wx/generic/dirdlgg.h b/include/wx/generic/dirdlgg.h index c70aedf6eb..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; } @@ -95,7 +99,7 @@ class WXDLLEXPORT wxDirDialog: public wxDialog int ShowModal(); void OnTreeSelected( wxTreeEvent &event ); - void OnTreeKeyDown( wxKeyEvent &event ); + void OnTreeKeyDown( wxTreeEvent &event ); void OnSize(wxSizeEvent& event); void OnOK(wxCommandEvent& event); void OnCancel(wxCommandEvent& event); @@ -116,6 +120,8 @@ class WXDLLEXPORT wxDirDialog: public wxDialog void doSize(); }; +#endif + #endif // _WX_DIRDLGG_H_