]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk/checkbox.cpp
added animate contrib
[wxWidgets.git] / src / gtk / checkbox.cpp
index c49c46ccff7f50aa87145e35bf9fc261cfdbdab1..4099d8406f62075c4a024a3a2c1528419e898585 100644 (file)
@@ -220,7 +220,8 @@ void wxCheckBox::OnInternalIdle()
         }
     }
     
-    UpdateWindowUI();
+    if (wxUpdateUIEvent::CanUpdate())
+        UpdateWindowUI();
 }
 
 wxSize wxCheckBox::DoGetBestSize() const