]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk1/window.cpp
Add markup support to wxMSW wxButton and show it in the sample.
[wxWidgets.git] / src / gtk1 / window.cpp
index 2618e11b8c69eee42ec3e6dee37fa58df1bd70bc..c339054997730158a6f9bbb98ccbcd3a253211ed 100644 (file)
@@ -2413,9 +2413,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()
 {
@@ -2962,8 +2960,7 @@ void wxWindowGTK::OnInternalIdle()
         }
     }
 
-    if (wxUpdateUIEvent::CanUpdate(this) && IsShownOnScreen())
-        UpdateWindowUI(wxUPDATE_UI_FROMIDLE);
+    wxWindowBase::OnInternalIdle();
 }
 
 void wxWindowGTK::DoGetSize( int *width, int *height ) const