]> git.saurik.com Git - wxWidgets.git/blobdiff - src/x11/window.cpp
Add wxRTTI macros for the wxSimpleHtmlListBox class
[wxWidgets.git] / src / x11 / window.cpp
index 57e55a536f616e89a5f3e7cf4152d1639c76442b..e9692b860084042ad59311d8c4f0e58b2812e38c 100644 (file)
@@ -56,6 +56,8 @@
     #include "wx/dnd.h"
 #endif
 
+#include "wx/unix/utilsx11.h"
+
 #include "wx/x11/private.h"
 #include "X11/Xutil.h"
 
@@ -1316,10 +1318,7 @@ void wxWindowX11::OnInternalIdle()
     // Update invalidated regions.
     Update();
 
-    // This calls the UI-update mechanism (querying windows for
-    // menu/toolbar/control state information)
-    if (wxUpdateUIEvent::CanUpdate((wxWindow*) this) && IsShownOnScreen())
-        UpdateWindowUI(wxUPDATE_UI_FROMIDLE);
+    wxWindowBase::OnInternalIdle();
 
     // Set the input focus if couldn't do it before
     if (m_needsInputFocus)