X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/a660d684eda27638bca0384b2058911a31c8e845..a5f1fd3e33d25740ad47e4755868c74a58c0f9eb:/docs/latex/wx/checkbox.tex diff --git a/docs/latex/wx/checkbox.tex b/docs/latex/wx/checkbox.tex index c1910aa99f..396a731764 100644 --- a/docs/latex/wx/checkbox.tex +++ b/docs/latex/wx/checkbox.tex @@ -10,15 +10,27 @@ or off (no checkmark). \helpref{wxEvtHandler}{wxevthandler}\\ \helpref{wxObject}{wxobject} +\wxheading{Include files} + + + \wxheading{Window styles} There are no special styles for wxCheckBox. See also \helpref{window styles overview}{windowstyles}. +\wxheading{Event handling} + +\twocolwidtha{7cm} +\begin{twocollist}\itemsep=0pt +\twocolitem{{\bf EVT\_CHECKBOX(id, func)}}{Process a wxEVT\_COMMAND\_CHECKBOX\_CLICKED event, +when the checkbox is clicked.} +\end{twocollist} + \wxheading{See also} -\helpref{wxRadioButton}{wxradiobutton} +\helpref{wxRadioButton}{wxradiobutton}, \helpref{wxCommandEvent}{wxcommandevent} \latexignore{\rtfignore{\wxheading{Members}}} @@ -28,7 +40,7 @@ See also \helpref{window styles overview}{windowstyles}. Default constructor. -\func{}{wxCheckBox}{\param{wxWindow* }{parent}, \param{const wxWindowID}{ id},\rtfsp +\func{}{wxCheckBox}{\param{wxWindow* }{parent}, \param{wxWindowID}{ id},\rtfsp \param{const wxString\& }{label}, \param{const wxPoint\& }{pos = wxDefaultPosition},\rtfsp \param{const wxSize\& }{size = wxDefaultSize}, \param{long}{ style = 0},\rtfsp \param{const wxValidator\& }{val}, \param{const wxString\& }{name = ``checkBox"}} @@ -65,7 +77,7 @@ Destructor, destroying the checkbox. \membersection{wxCheckBox::Create}\label{wxcheckboxcreate} -\func{bool}{Create}{\param{wxWindow* }{parent}, \param{const wxWindowID}{ id},\rtfsp +\func{bool}{Create}{\param{wxWindow* }{parent}, \param{wxWindowID}{ id},\rtfsp \param{const wxString\& }{label}, \param{const wxPoint\& }{pos = wxDefaultPosition},\rtfsp \param{const wxSize\& }{size = wxDefaultSize}, \param{long}{ style = 0},\rtfsp \param{const wxValidator\& }{val}, \param{const wxString\& }{name = ``checkBox"}} @@ -87,7 +99,8 @@ Returns TRUE if it is checked, FALSE otherwise. \func{void}{SetValue}{\param{const bool}{ state}} -Sets the checkbox to the given state. +Sets the checkbox to the given state. This does not cause a +wxEVT\_COMMAND\_CHECKBOX\_CLICKED event to get emitted. \wxheading{Parameters}