X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/8795498cd9ec480873e88fccbb63b94be3eddb92..c266eff98c5e44012647f54f38a1e29ecabd8759:/docs/latex/wx/tglbtn.tex diff --git a/docs/latex/wx/tglbtn.tex b/docs/latex/wx/tglbtn.tex index e2a5d1a19d..9f82de7e08 100644 --- a/docs/latex/wx/tglbtn.tex +++ b/docs/latex/wx/tglbtn.tex @@ -15,12 +15,9 @@ wxToggleButton is a button that stays pressed when clicked by the user. In other words, it is similar to \helpref{wxCheckBox}{wxcheckbox} in functionality but looks like a \helpref{wxButton}{wxbutton}. -You can see wxToggleButton in action in the sixth page of the +You can see wxToggleButton in action in the sixth page of the \helpref{controls}{samplecontrols} sample. -{\bf NB:} This class is only available under wxMSW, wxGTK and wxMotif -currently. - \wxheading{Derived from} \helpref{wxControl}{wxcontrol}\\ @@ -32,6 +29,10 @@ currently. +\wxheading{Library} + +\helpref{wxCore}{librarieslist} + \wxheading{Window styles} There are no special styles for wxToggleButton. @@ -42,7 +43,7 @@ See also \helpref{window styles overview}{windowstyles}. \twocolwidtha{7cm} \begin{twocollist}\itemsep=0pt -\twocolitem{{\bf EVT\_TOGGLEBUTTON(id, func)}}{Handles button click event.} +\twocolitem{{\bf EVT\_TOGGLEBUTTON(id, func)}}{Handles a toggle button click event.} \end{twocollist} \wxheading{See also} @@ -114,12 +115,11 @@ Returns {\tt true} if it is pressed, {\tt false} otherwise. \membersection{wxToggleButton::SetValue}\label{wxtogglebuttonsetvalue} -\func{void}{SetValue}{\param{const bool}{ state}} +\func{void}{SetValue}{\param{bool}{ state}} -Sets the toggle button to the given state. This does not cause a +Sets the toggle button to the given state. This does not cause a {\tt EVT\_TOGGLEBUTTON} event to be emitted. \wxheading{Parameters} \docparam{state}{If {\tt true}, the button is pressed.} -