From 0da52ad172bee5a696ae332affbfbae011372e7b Mon Sep 17 00:00:00 2001
From: Vadim Zeitlin <vadim@wxwidgets.org>
Date: Sun, 28 Sep 2003 17:51:11 +0000
Subject: [PATCH] SetValue() takes just bool, not const bool

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23988 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
---
 docs/latex/wx/checkbox.tex | 2 +-
 include/wx/msw/checkbox.h  | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

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);
-- 
2.50.0

