char */wxString confusion cleaned in the docs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1805 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -54,14 +54,11 @@ get the next matching file.
|
|||||||
|
|
||||||
{\it flags} is reserved for future use.
|
{\it flags} is reserved for future use.
|
||||||
|
|
||||||
The returned filename is a pointer to static memory so should
|
|
||||||
not be freed.
|
|
||||||
|
|
||||||
For example:
|
For example:
|
||||||
|
|
||||||
\begin{verbatim}
|
\begin{verbatim}
|
||||||
wxString f = wxFindFirstFile("/home/project/*.*");
|
wxString f = wxFindFirstFile("/home/project/*.*");
|
||||||
while (f != "")
|
while ( !f.IsEmpty() )
|
||||||
{
|
{
|
||||||
...
|
...
|
||||||
f = wxFindNextFile();
|
f = wxFindNextFile();
|
||||||
@@ -357,9 +354,6 @@ if (s)
|
|||||||
}
|
}
|
||||||
\end{verbatim}
|
\end{verbatim}
|
||||||
|
|
||||||
Remember that the returned pointer is temporary and should be copied
|
|
||||||
if other wxWindows calls will be made before the value is to be used.
|
|
||||||
|
|
||||||
\wxheading{Include files}
|
\wxheading{Include files}
|
||||||
|
|
||||||
<wx/filedlg.h>
|
<wx/filedlg.h>
|
||||||
|
Reference in New Issue
Block a user