From: Vadim Zeitlin Date: Sun, 28 Sep 2003 17:51:11 +0000 (+0000) Subject: SetValue() takes just bool, not const bool X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/0da52ad172bee5a696ae332affbfbae011372e7b SetValue() takes just bool, not const bool git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23988 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- 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);