]> git.saurik.com Git - wxWidgets.git/blobdiff - src/x11/window.cpp
implement support for returning several elements at once from IEnumFORMATETC (part...
[wxWidgets.git] / src / x11 / window.cpp
index d787a4eaef50fc07a41ca96117aac7573d6f7961..1edf8c66047b7ba9de9f9224e90abdf7efbc7d9e 100644 (file)
@@ -1287,8 +1287,8 @@ void wxWindowX11::OnInternalIdle()
 
     // This calls the UI-update mechanism (querying windows for
     // menu/toolbar/control state information)
-    if (wxUpdateUIEvent::CanUpdate())
-        UpdateWindowUI();
+    if (wxUpdateUIEvent::CanUpdate((wxWindow*) this))
+        UpdateWindowUI(wxUPDATE_UI_FROMIDLE);
 
     // Set the input focus if couldn't do it before
     if (m_needsInputFocus)