]> git.saurik.com Git - wxWidgets.git/commitdiff
newstate already set
authorStefan Csomor <csomor@advancedconcepts.ch>
Wed, 8 Jun 2011 23:02:25 +0000 (23:02 +0000)
committerStefan Csomor <csomor@advancedconcepts.ch>
Wed, 8 Jun 2011 23:02:25 +0000 (23:02 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@67892 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/osx/checkbox_osx.cpp

index cda4a37d2ebc82c03aee7233e6275044887695ba..e45c547eabb633ef3f5ea8758a4357cfba1d3970 100644 (file)
@@ -89,7 +89,7 @@ bool wxCheckBox::OSXHandleClicked( double WXUNUSED(timestampsec) )
     {
         wxCheckBoxState origState ;
 
-        newState = origState = Get3StateValue();
+        origState = Get3StateValue();
 
         switch (origState)
         {