X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/eaafd2f8b7acf211feb30c86db037fffe22ee565..0598fd99dbcfef937340ba4ee6ff626f4c46996a:/src/gtk1/checkbox.cpp?ds=inline diff --git a/src/gtk1/checkbox.cpp b/src/gtk1/checkbox.cpp index c49c46ccff..4099d8406f 100644 --- a/src/gtk1/checkbox.cpp +++ b/src/gtk1/checkbox.cpp @@ -220,7 +220,8 @@ void wxCheckBox::OnInternalIdle() } } - UpdateWindowUI(); + if (wxUpdateUIEvent::CanUpdate()) + UpdateWindowUI(); } wxSize wxCheckBox::DoGetBestSize() const