X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/6c6a3e8a23c19b03e201800b661dd3887d1e1db0..14ac4e3a8e8b07360b59be2f49451e85c81d6f7e:/src/gtk/control.cpp diff --git a/src/gtk/control.cpp b/src/gtk/control.cpp index 22f7bfcd03..9641245f39 100644 --- a/src/gtk/control.cpp +++ b/src/gtk/control.cpp @@ -375,7 +375,7 @@ void wxControl::OnInternalIdle() if ( GtkShowFromOnIdle() ) return; - if ( IsShown() ) + if ( GTK_WIDGET_REALIZED(m_widget) ) { GTKUpdateCursor();