X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/0b30bb0bda00908650d46b326ba04237f0d4121f..68a2e005a51a87df6cc445345f27443e57ab3608:/src/gtk1/checkbox.cpp?ds=sidebyside diff --git a/src/gtk1/checkbox.cpp b/src/gtk1/checkbox.cpp index 4099d8406f..fb6cc16c42 100644 --- a/src/gtk1/checkbox.cpp +++ b/src/gtk1/checkbox.cpp @@ -220,8 +220,8 @@ void wxCheckBox::OnInternalIdle() } } - if (wxUpdateUIEvent::CanUpdate()) - UpdateWindowUI(); + if (wxUpdateUIEvent::CanUpdate(this)) + UpdateWindowUI(wxUPDATE_UI_FROMIDLE); } wxSize wxCheckBox::DoGetBestSize() const