]> git.saurik.com Git - wxWidgets.git/blobdiff - src/motif/window.cpp
still support wxNB_XXX and wxADJUST_MINSIZE in XRC files even if they're deprecated...
[wxWidgets.git] / src / motif / window.cpp
index 211dc3bf35639359290bc02d8a0608960fbeb76e..17634160d48abc062f0993694f4435c57614757a 100644 (file)
@@ -1657,7 +1657,7 @@ void wxWindow::OnInternalIdle()
 {
     // This calls the UI-update mechanism (querying windows for
     // menu/toolbar/control state information)
-    if (wxUpdateUIEvent::CanUpdate(this) && IsShown())
+    if (wxUpdateUIEvent::CanUpdate(this) && IsShownOnScreen())
         UpdateWindowUI(wxUPDATE_UI_FROMIDLE);
 }