Added DoLoadFile, DoSaveFile to wxTextCtrlBase
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41410 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -652,7 +652,7 @@ otherwise.
|
||||
|
||||
\membersection{wxTextCtrl::LoadFile}\label{wxtextctrlloadfile}
|
||||
|
||||
\func{bool}{LoadFile}{\param{const wxString\& }{ filename}}
|
||||
\func{bool}{LoadFile}{\param{const wxString\& }{ filename}, \param{int }{fileType = wxTEXT\_TYPE\_ANY}}
|
||||
|
||||
Loads and displays the named file, if it exists.
|
||||
|
||||
@@ -660,6 +660,8 @@ Loads and displays the named file, if it exists.
|
||||
|
||||
\docparam{filename}{The filename of the file to load.}
|
||||
|
||||
\docparam{fileType}{The type of file to load. This is currently ignored in wxTextCtrl.}
|
||||
|
||||
\wxheading{Return value}
|
||||
|
||||
{\tt true} if successful, {\tt false} otherwise.
|
||||
@@ -804,7 +806,7 @@ the character at the last position with the given text.
|
||||
|
||||
\membersection{wxTextCtrl::SaveFile}\label{wxtextctrlsavefile}
|
||||
|
||||
\func{bool}{SaveFile}{\param{const wxString\& }{ filename}}
|
||||
\func{bool}{SaveFile}{\param{const wxString\& }{ filename}, \param{int }{fileType = wxTEXT\_TYPE\_ANY}}
|
||||
|
||||
Saves the contents of the control in a text file.
|
||||
|
||||
@@ -812,6 +814,8 @@ Saves the contents of the control in a text file.
|
||||
|
||||
\docparam{filename}{The name of the file in which to save the text.}
|
||||
|
||||
\docparam{fileType}{The type of file to save. This is currently ignored in wxTextCtrl.}
|
||||
|
||||
\wxheading{Return value}
|
||||
|
||||
{\tt true} if the operation was successful, {\tt false} otherwise.
|
||||
|
Reference in New Issue
Block a user