]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk/button.cpp
fixes for non precompiled headers
[wxWidgets.git] / src / gtk / button.cpp
index a9631c7958321f30b53b4830f2aca4cf3d13efd8..35e0b4f53712a2e9aec2134106ba835bbff4f4d7 100644 (file)
 #if wxUSE_BUTTON
 
 #include "wx/button.h"
+
+#ifndef WX_PRECOMP
+    #include "wx/toplevel.h"
+#endif
+
 #include "wx/stockitem.h"
 
 #include "wx/gtk/private.h"
@@ -252,7 +257,7 @@ bool wxButton::Enable( bool enable )
     return true;
 }
 
-bool wxButton::IsOwnGtkWindow( GdkWindow *window )
+GdkWindow *wxButton::GTKGetWindow(wxArrayGdkWindows& WXUNUSED(windows)) const
 {
     return GTK_BUTTON(m_widget)->event_window;
 }