add accessors using wxFileName to wxFile/DirPickerCtrl (patch 1622534)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44353 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2007-02-04 00:22:47 +00:00
parent c4fa5aa7b0
commit 28f15a1f70
4 changed files with 45 additions and 0 deletions

View File

@@ -128,6 +128,14 @@ all the parameters.
\true if the control was successfully created or \false if creation failed.
\membersection{wxFilePickerCtrl::GetFileName}\label{wxfilepickerctrlgetfilename}
\constfunc{wxFileName}{GetFileName}{\void}
Similar to \helpref{GetPath}{wxfilepickerctrlgetpath} but returns the path of
the currently selected file as a \helpref{wxFileName} object.
\membersection{wxFilePickerCtrl::GetPath}\label{wxfilepickerctrlgetpath}
\constfunc{wxString}{GetPath}{\void}
@@ -135,6 +143,14 @@ all the parameters.
Returns the absolute path of the currently selected file.
\membersection{wxFilePickerCtrl::SetFileName}\label{wxfilepickerctrlsetfilename}
\func{void}{SetFileName}{\param{const wxFileName \&}{filename}}
This method does the same thing as \helpref{SetPath}{wxfilepickerctrlsetpath} but
takes a \helpref{wxFileName}{wxfilename} object instead of a string.
\membersection{wxFilePickerCtrl::SetPath}\label{wxfilepickerctrlsetpath}
\func{void}{SetPath}{\param{const wxString \&}{filename}}