]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk1/checkbox.cpp
Added implementations for two cases of wxSystemSettingsNative::GetMetric to
[wxWidgets.git] / src / gtk1 / checkbox.cpp
index 4099d8406f62075c4a024a3a2c1528419e898585..fb6cc16c42240e068f141ca7763061784355a5fc 100644 (file)
@@ -220,8 +220,8 @@ void wxCheckBox::OnInternalIdle()
         }
     }
     
-    if (wxUpdateUIEvent::CanUpdate())
-        UpdateWindowUI();
+    if (wxUpdateUIEvent::CanUpdate(this))
+        UpdateWindowUI(wxUPDATE_UI_FROMIDLE);
 }
 
 wxSize wxCheckBox::DoGetBestSize() const