Finished review of Dialogs category of functions and macros as well as choicdlg.h (assigned to myself).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52618 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -99,10 +99,14 @@ public:
|
||||
// Global functions/macros
|
||||
// ============================================================================
|
||||
|
||||
/** @ingroup group_funcmacro_dialog */
|
||||
//@{
|
||||
|
||||
/**
|
||||
Pops up a directory selector dialog. The arguments have the same meaning as
|
||||
those of wxDirDialog::wxDirDialog(). The message is displayed at the top,
|
||||
and the default_path, if specified, is set as the initial selection.
|
||||
Pops up a directory selector dialog. The arguments have the same meaning
|
||||
as those of wxDirDialog::wxDirDialog(). The message is displayed at the
|
||||
top, and the default_path, if specified, is set as the initial selection.
|
||||
|
||||
The application must check for an empty return value (if the user pressed
|
||||
Cancel). For example:
|
||||
|
||||
@@ -110,9 +114,11 @@ public:
|
||||
const wxString& dir = wxDirSelector("Choose a folder");
|
||||
if ( !dir.empty() )
|
||||
{
|
||||
...
|
||||
...
|
||||
}
|
||||
@endcode
|
||||
|
||||
@header{wx/dirdlg.h}
|
||||
*/
|
||||
wxString wxDirSelector(const wxString& message = wxDirSelectorPromptStr,
|
||||
const wxString& default_path = "",
|
||||
@@ -120,3 +126,5 @@ wxString wxDirSelector(const wxString& message = wxDirSelectorPromptStr,
|
||||
const wxPoint& pos = wxDefaultPosition,
|
||||
wxWindow* parent = NULL);
|
||||
|
||||
//@}
|
||||
|
||||
|
Reference in New Issue
Block a user