X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/7b32a8b736d33cdab7eba7592d2be34975d2c11d..e9a7fde5683162aeeb76a364456b10b9f7c8c555:/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); }