diff --git a/docs/latex/wx/checkbox.tex b/docs/latex/wx/checkbox.tex index a47d108e16..b682c8fb73 100644 --- a/docs/latex/wx/checkbox.tex +++ b/docs/latex/wx/checkbox.tex @@ -146,7 +146,7 @@ This is just a maybe more readable synonym for \membersection{wxCheckBox::SetValue}\label{wxcheckboxsetvalue} -\func{void}{SetValue}{\param{const bool}{ state}} +\func{void}{SetValue}{\param{bool}{ state}} Sets the checkbox to the given state. This does not cause a wxEVT\_COMMAND\_CHECKBOX\_CLICKED event to get emitted. diff --git a/include/wx/msw/checkbox.h b/include/wx/msw/checkbox.h index 1d685dfeaf..64dedbf487 100644 --- a/include/wx/msw/checkbox.h +++ b/include/wx/msw/checkbox.h @@ -42,7 +42,7 @@ public: const wxValidator& validator = wxDefaultValidator, const wxString& name = wxCheckBoxNameStr); - virtual void SetValue(const bool value); + virtual void SetValue(bool value); virtual bool GetValue() const; virtual void SetLabel(const wxString& label);