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