X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/c0e6c0513862fc9a33e5800526058193b7492d8b..760f0fc2f4b875beb06e5ecd6d69b891d8360efe:/docs/latex/wx/control.tex?ds=sidebyside diff --git a/docs/latex/wx/control.tex b/docs/latex/wx/control.tex index 75c4e5f975..317ab1f7e6 100644 --- a/docs/latex/wx/control.tex +++ b/docs/latex/wx/control.tex @@ -35,6 +35,9 @@ Simulates the effect of the user issuing a command to the item. See \helpref{wxC Returns the control's text. +Note that the returned string contains the mnemonics (\texttt{\&} characters) if +any. + \membersection{wxControl::SetLabel}\label{wxcontrolsetlabel} @@ -42,3 +45,10 @@ Returns the control's text. Sets the item's text. +The \texttt{\&} characters in the \arg{label} are special and indicate that the +following character is a mnemonic for this control and can be used to activate +it from the keyboard (typically by using \textit{Alt} key in combination with +it). To insert a literal ampersand character, you need to double it, i.e. use +\texttt{"\&\&"}. + +