X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/ecdba0d10f3fa0fd666c51ae033499ed16f9234f..50c538600e7586c256fe0145ac8054f045be6fbb:/docs/latex/wx/tglbtn.tex diff --git a/docs/latex/wx/tglbtn.tex b/docs/latex/wx/tglbtn.tex index 78e059361b..a1646817e8 100644 --- a/docs/latex/wx/tglbtn.tex +++ b/docs/latex/wx/tglbtn.tex @@ -6,19 +6,20 @@ %% Created: 20.11.01 %% RCS-ID: $Id$ %% Copyright: (c) 2001 Vadim Zeitlin -%% License: wxWindows license +%% License: wxWidgets license %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \section{\class{wxToggleButton}}\label{wxtogglebutton} -wxToggleButton is a button which stays pressed when clicked by the user. In -other words, it is more similar to \helpref{wxCheckBox}{wxcheckbox} in +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 \helpref{controls}{samplecontrols} sample. -{\bf NB: } This class is only available under wxMSW and wxGTK currently. +{\bf NB:} This class is only available under wxMSW, wxGTK and wxMotif +currently. \wxheading{Derived from} @@ -109,16 +110,16 @@ Gets the state of the toggle button. \wxheading{Return value} -Returns {\tt TRUE} if it is pressed, {\tt FALSE} otherwise. +Returns {\tt true} if it is pressed, {\tt false} otherwise. \membersection{wxToggleButton::SetValue}\label{wxtogglebuttonsetvalue} \func{void}{SetValue}{\param{const bool}{ state}} -Sets the toggle button to the given state. This does not cause a -{\tt EVT\_TOGGLEBUTTON} event to get emitted. +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.} +\docparam{state}{If {\tt true}, the button is pressed.}