]> git.saurik.com Git - wxWidgets.git/blobdiff - src/osx/checkbox_osx.cpp
Use client size determined by size-allocate when possible
[wxWidgets.git] / 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)
         {