X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/b21126db7a8232fa9e64b29f916d73d6b0153bef..1b7751aaa9a86d76a850b9267bc0c201e3cea30f:/interface/wx/dirdlg.h diff --git a/interface/wx/dirdlg.h b/interface/wx/dirdlg.h index 400452315d..953b45be41 100644 --- a/interface/wx/dirdlg.h +++ b/interface/wx/dirdlg.h @@ -3,9 +3,30 @@ // Purpose: interface of wxDirDialog // Author: wxWidgets team // RCS-ID: $Id$ -// Licence: wxWindows license +// Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// +#define wxDD_CHANGE_DIR 0x0100 +#define wxDD_DIR_MUST_EXIST 0x0200 +#define wxDD_NEW_DIR_BUTTON 0 // deprecated, on by default now, + +#define wxDD_DEFAULT_STYLE (wxDEFAULT_DIALOG_STYLE|wxRESIZE_BORDER) + +/** + Initial folder for generic directory dialog. +*/ +const char wxDirDialogDefaultFolderStr[] = "/"; + +/** + Default message for directory selector dialog. +*/ +const char wxDirSelectorPromptStr[] = "Select a directory"; + +/** + Default name for directory selector dialog. +*/ +const char wxDirDialogNameStr[] = "wxDirCtrl"; + /** @class wxDirDialog @@ -134,7 +155,7 @@ public: @header{wx/dirdlg.h} */ wxString wxDirSelector(const wxString& message = wxDirSelectorPromptStr, - const wxString& default_path = "", + const wxString& default_path = wxEmptyString, long style = 0, const wxPoint& pos = wxDefaultPosition, wxWindow* parent = NULL);