X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/953704c1c76cfb9cfb7b91f0e81f98c30d27eb56..d83eeece0ee86a3ad81096d894a560647cef0d3a:/docs/latex/wx/checkbox.tex diff --git a/docs/latex/wx/checkbox.tex b/docs/latex/wx/checkbox.tex index 396a731764..673cb679fc 100644 --- a/docs/latex/wx/checkbox.tex +++ b/docs/latex/wx/checkbox.tex @@ -16,7 +16,10 @@ or off (no checkmark). \wxheading{Window styles} -There are no special styles for wxCheckBox. +\twocolwidtha{5cm} +\begin{twocollist}\itemsep=0pt +\twocolitem{\windowstyle{wxALIGN\_RIGHT}}{Makes the text appear on the left of the checkbox.} +\end{twocollist} See also \helpref{window styles overview}{windowstyles}. @@ -93,7 +96,15 @@ Gets the state of the checkbox. \wxheading{Return value} -Returns TRUE if it is checked, FALSE otherwise. +Returns {\tt true} if it is checked, {\tt false} otherwise. + +\membersection{wxCheckBox::IsChecked}\label{wxcheckboxischecked} + +\constfunc{bool}{IsChecked}{\void} + +This is just a maybe more readable synonym for +\helpref{GetValue}{wxcheckboxgetvalue}: just as the latter, it returns +{\tt true} if the checkbox is checked and {\tt false} otherwise. \membersection{wxCheckBox::SetValue}\label{wxcheckboxsetvalue} @@ -104,6 +115,5 @@ wxEVT\_COMMAND\_CHECKBOX\_CLICKED event to get emitted. \wxheading{Parameters} -\docparam{state}{If TRUE, the check is on, otherwise it is off.} - +\docparam{state}{If {\tt true}, the check is on, otherwise it is off.}