X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/6c20e8f816b21b911e3a8ed8197c21df6ce726d6..539872aef30aedbf24339285374d19c0aedd2b11:/src/gtk/button.cpp diff --git a/src/gtk/button.cpp b/src/gtk/button.cpp index a9631c7958..35e0b4f537 100644 --- a/src/gtk/button.cpp +++ b/src/gtk/button.cpp @@ -13,6 +13,11 @@ #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; }