X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/6c6a3e8a23c19b03e201800b661dd3887d1e1db0..923608c3ac95e2c705fb0f49ab48fbe62fc871bd:/src/gtk/control.cpp?ds=sidebyside 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();