X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/3c4f71cc3d63fb7bdfbd6cec3e39c8a8679f3e60..e0e7a34117c26599519f45aecf7bd7499e60c8db:/interface/dirdlg.h diff --git a/interface/dirdlg.h b/interface/dirdlg.h index cb7b4eba1c..4d21deac85 100644 --- a/interface/dirdlg.h +++ b/interface/dirdlg.h @@ -13,30 +13,32 @@ This class represents the directory chooser dialog. @beginStyleTable - @style{wxDD_DEFAULT_STYLE}: + @style{wxDD_DEFAULT_STYLE} Equivalent to a combination of wxDEFAULT_DIALOG_STYLE and wxRESIZE_BORDER (the last one is not used under wxWinCE). - @style{wxDD_DIR_MUST_EXIST}: + @style{wxDD_DIR_MUST_EXIST} The dialog will allow the user to choose only an existing folder. When this style is not given, a "Create new directory" button is added to the dialog (on Windows) or some other way is provided to the user to type the name of a new folder. - @style{wxDD_CHANGE_DIR}: + @style{wxDD_CHANGE_DIR} Change the current working directory to the directory chosen by the user. @endStyleTable + @note On Windows the new directory button is only available with recent + versions of the common dialogs. + @library{wxcore} @category{cmndlg} - @see @ref overview_wxdirdialogoverview "wxDirDialog overview", wxFileDialog + @see @ref overview_cmndlg_dir, wxFileDialog */ class wxDirDialog : public wxDialog { public: /** - Constructor. Use ShowModal() to show - the dialog. + Constructor. Use ShowModal() to show the dialog. @param parent Parent window. @@ -87,8 +89,8 @@ public: void SetPath(const wxString& path); /** - Shows the dialog, returning wxID_OK if the user pressed OK, and wxID_CANCEL - otherwise. + Shows the dialog, returning wxID_OK if the user pressed OK, and + wxID_CANCEL otherwise. */ int ShowModal(); };