]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk/control.cpp
minimize overlay area to avoid eg scrolling artifacts when using a caret
[wxWidgets.git] / src / gtk / control.cpp
index 22f7bfcd038227326739e507163c6db9303a4347..9641245f398431d6079e6773f10aad799b50936d 100644 (file)
@@ -375,7 +375,7 @@ void wxControl::OnInternalIdle()
     if ( GtkShowFromOnIdle() )
         return;
 
-    if ( IsShown() )
+    if ( GTK_WIDGET_REALIZED(m_widget) )
     {
         GTKUpdateCursor();