]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk/window.cpp
clang fix, fixes #12332
[wxWidgets.git] / src / gtk / window.cpp
index 53c687fa0848e5e1e3e25ca20c27288db27c657e..85c1dfc1d147c33d4275dce3e2b8b8f014b7592f 100644 (file)
@@ -2048,9 +2048,7 @@ wxMouseState wxGetMouseState()
 // method
 #ifdef __WXUNIVERSAL__
     IMPLEMENT_ABSTRACT_CLASS(wxWindowGTK, wxWindowBase)
-#else // __WXGTK__
-    IMPLEMENT_DYNAMIC_CLASS(wxWindow, wxWindowBase)
-#endif // __WXUNIVERSAL__/__WXGTK__
+#endif // __WXUNIVERSAL__
 
 void wxWindowGTK::Init()
 {
@@ -2617,8 +2615,7 @@ void wxWindowGTK::OnInternalIdle()
         m_needsStyleChange = false;
     }
 
-    if (wxUpdateUIEvent::CanUpdate(this) && IsShownOnScreen())
-        UpdateWindowUI(wxUPDATE_UI_FROMIDLE);
+    wxWindowBase::OnInternalIdle();
 }
 
 void wxWindowGTK::DoGetSize( int *width, int *height ) const