]> git.saurik.com Git - wxWidgets.git/commitdiff
SetValue() takes just bool, not const bool
authorVadim Zeitlin <vadim@wxwidgets.org>
Sun, 28 Sep 2003 17:51:11 +0000 (17:51 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Sun, 28 Sep 2003 17:51:11 +0000 (17:51 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23988 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

docs/latex/wx/checkbox.tex
include/wx/msw/checkbox.h

index a47d108e16c13882c253ddd1682487d62031eb0f..b682c8fb731d637354b6353d109be6dc0a96b6a5 100644 (file)
@@ -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.
index 1d685dfeaf0ce332ae970ec43ea27619fdcc977f..64dedbf487c036c514f4cc029b0e6a699edf187e 100644 (file)
@@ -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);