X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/fc2171bd4c660b8554dae2a1cbf34ff09f3032a6..3cc305b2b4a0674c56c84d7088cfd70676b850f0:/docs/latex/wx/tglbtn.tex diff --git a/docs/latex/wx/tglbtn.tex b/docs/latex/wx/tglbtn.tex index a1646817e8..9f82de7e08 100644 --- a/docs/latex/wx/tglbtn.tex +++ b/docs/latex/wx/tglbtn.tex @@ -6,7 +6,7 @@ %% Created: 20.11.01 %% RCS-ID: $Id$ %% Copyright: (c) 2001 Vadim Zeitlin -%% License: wxWidgets license +%% License: wxWindows license %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \section{\class{wxToggleButton}}\label{wxtogglebutton} @@ -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} @@ -86,7 +87,7 @@ Constructor, creating and showing a toggle button. \helpref{wxToggleButton::Create}{wxtogglebuttoncreate}, \helpref{wxValidator}{wxvalidator} -\membersection{wxToggleButton::\destruct{wxToggleButton}} +\membersection{wxToggleButton::\destruct{wxToggleButton}}\label{wxtogglebuttondtor} \func{}{\destruct{wxToggleButton}}{\void} @@ -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.} -