X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/f107837e78100f9fb9e72e27f0e8034957a7c946..d2b23b67301bd2d286366d4326a21da3132558fa:/docs/latex/wx/control.tex diff --git a/docs/latex/wx/control.tex b/docs/latex/wx/control.tex index 317ab1f7e6..eade0d1ddd 100644 --- a/docs/latex/wx/control.tex +++ b/docs/latex/wx/control.tex @@ -31,12 +31,23 @@ Simulates the effect of the user issuing a command to the item. See \helpref{wxC \membersection{wxControl::GetLabel}\label{wxcontrolgetlabel} -\func{wxString\&}{GetLabel}{\void} +\constfunc{const wxString\&}{GetLabel}{\void} Returns the control's text. Note that the returned string contains the mnemonics (\texttt{\&} characters) if -any. +any, use \helpref{wxControl::GetLabelText}{wxcontrolgetlabeltext} if they are +undesired. + + +\membersection{wxControl::GetLabelText}\label{wxcontrolgetlabeltext} + +\constfunc{const wxString\&}{GetLabelText}{\void} + +\func{static const wxString\&}{GetLabelText}{\param{const wxString\& }{label}} + +Returns the control's label or the given \arg{label} string for the static +version without the mnemonics characters. \membersection{wxControl::SetLabel}\label{wxcontrolsetlabel}