X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/2edb0bdef6238c8c246b6978bc14828b7033d931..cdfb1ae1bcacb8327589a09e6a67f8fc1ef5a82e:/docs/latex/wx/text.tex diff --git a/docs/latex/wx/text.tex b/docs/latex/wx/text.tex index 7c576bb75b..5a55d4516f 100644 --- a/docs/latex/wx/text.tex +++ b/docs/latex/wx/text.tex @@ -367,6 +367,9 @@ can be undone. Clears the text in the control. +Note that this function will generate a {\tt wxEVT\_COMMAND\_TEXT\_UPDATED} +event. + \membersection{wxTextCtrl::Copy}\label{wxtextctrlcopy} \func{virtual void}{Copy}{\void} @@ -567,6 +570,28 @@ read-only mode by a previous call to Returns {\tt TRUE} if the text has been modified by user. Note that calling \helpref{SetValue}{wxtextctrlsetvalue} doesn't make the control modified. +\membersection{wxTextCtrl::IsMultiLine}\label{wxtextctrlismultiline} + +\constfunc{bool}{IsMultiLine}{\void} + +Returns {\tt TRUE} if this is a multi line edit control and {\tt FALSE} +otherwise. + +\wxheading{See also} + +\helpref{IsSingleLine}{wxtextctrlissingleline} + +\membersection{wxTextCtrl::IsSingleLine}\label{wxtextctrlissingleline} + +\constfunc{bool}{IsSingleLine}{\void} + +Returns {\tt TRUE} if this is a single line edit control and {\tt FALSE} +otherwise. + +\wxheading{See also} + +\helpref{IsMultiLine}{wxtextctrlissingleline} + \membersection{wxTextCtrl::LoadFile}\label{wxtextctrlloadfile} \func{bool}{LoadFile}{\param{const wxString\& }{ filename}} @@ -841,6 +866,9 @@ Sets the text value and marks the control as not-modified (which means that \helpref{IsModified}{wxtextctrlismodified} would return {\tt FALSE} immediately after the call to SetValue). +Note that this function will generate a {\tt wxEVT\_COMMAND\_TEXT\_UPDATED} +event. + \wxheading{Parameters} \docparam{value}{The new value to set. It may contain newline characters if the text control is multi-line.}