X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/7b32a8b736d33cdab7eba7592d2be34975d2c11d..0c75b29e1ed19810546de38b646b5b901be873e2:/src/gtk/control.cpp diff --git a/src/gtk/control.cpp b/src/gtk/control.cpp index a92d109556..302c5018b6 100644 --- a/src/gtk/control.cpp +++ b/src/gtk/control.cpp @@ -297,7 +297,7 @@ void wxControl::OnInternalIdle() GTKUpdateCursor(); } - if ( wxUpdateUIEvent::CanUpdate(this) && IsVisibleOnScreen() ) + if ( wxUpdateUIEvent::CanUpdate(this) && IsShownOnScreen() ) UpdateWindowUI(wxUPDATE_UI_FROMIDLE); }