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:
Vadim Zeitlin
2001-10-30 16:58:42 +00:00
parent 4f2570aaf1
commit 10eb1f1eac
24 changed files with 174 additions and 27 deletions

View File

@@ -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 = ""},\\