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.
+Since wxWidgets version 2.9.0 this control emits an update UI event.
-{\bf NB:} This class is only available under wxMSW and wxGTK currently.
+You can see wxToggleButton in action in the sixth page of the
+\helpref{controls}{samplecontrols} sample.
\wxheading{Derived from}
<wx/tglbtn.h>
+\wxheading{Library}
+
+\helpref{wxCore}{librarieslist}
+
\wxheading{Window styles}
There are no special styles for wxToggleButton.
\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}
-\helpref{wxCheckBox}{wxcheckbox}, \helpref{wxButton}{wxbutton}
+\helpref{wxCheckBox}{wxcheckbox}, \helpref{wxButton}{wxbutton},
+\helpref{wxBitmapToggleButton}{wxbitmaptogglebutton}
\latexignore{\rtfignore{\wxheading{Members}}}
\helpref{wxToggleButton::Create}{wxtogglebuttoncreate}, \helpref{wxValidator}{wxvalidator}
-\membersection{wxToggleButton::\destruct{wxToggleButton}}
+\membersection{wxToggleButton::\destruct{wxToggleButton}}\label{wxtogglebuttondtor}
\func{}{\destruct{wxToggleButton}}{\void}
\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}