]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk1/window.cpp
Ticket #1032 wxVariant::operator==(wxVariant& variant) has bad bug
[wxWidgets.git] / src / gtk1 / window.cpp
index a2e39a0d661ed67d2203506e8152b5fdb8afa2b6..82fbdedf02d0ebe767dd9c5aeadf856f1c992cb6 100644 (file)
@@ -2968,7 +2968,7 @@ void wxWindowGTK::OnInternalIdle()
         }
     }
 
-    if (wxUpdateUIEvent::CanUpdate(this) && IsShown())
+    if (wxUpdateUIEvent::CanUpdate(this) && IsShownOnScreen())
         UpdateWindowUI(wxUPDATE_UI_FROMIDLE);
 }