applied wxDirSelector() patch and regenerated the makefiles to include the new src/common/dseldlg.cpp
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12217 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -597,6 +597,32 @@ is remembered between the 2 program runs.}
|
||||
|
||||
<wx/tipdlg.h>
|
||||
|
||||
\membersection{::wxDirSelector}\label{wxdirselector}
|
||||
|
||||
\func{wxString}{wxDirSelector}{\param{const wxString\& }{message = wxDirSelectorPromptStr},\\
|
||||
\param{const wxString\& }{default\_path = ""},\\
|
||||
\param{long }{style = 0}, \param{const wxPoint\& }{pos = wxDefaultPosition},\\
|
||||
\param{wxWindow *}{parent = NULL}}
|
||||
|
||||
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:
|
||||
|
||||
\begin{verbatim}
|
||||
const wxString& dir = wxDirSelector("Choose a folder");
|
||||
if ( !dir.empty() )
|
||||
{
|
||||
...
|
||||
}
|
||||
\end{verbatim}
|
||||
|
||||
\wxheading{Include files}
|
||||
|
||||
<wx/dirdlg.h>
|
||||
|
||||
\membersection{::wxFileSelector}\label{wxfileselector}
|
||||
|
||||
\func{wxString}{wxFileSelector}{\param{const wxString\& }{message}, \param{const wxString\& }{default\_path = ""},\\
|
||||
|
Reference in New Issue
Block a user