#ifndef __GTKBUTTONH__
#define __GTKBUTTONH__
-#if defined(__GNUG__) && !defined(__APPLE__)
+#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
#pragma interface
#endif
// --------------
void ApplyWidgetStyle();
+ bool IsOwnGtkWindow( GdkWindow *window );
+
+ // Since this wxButton doesn't derive from wxButtonBase (why?) we need
+ // to override this here too...
+ virtual bool ShouldInheritColours() const { return false; }
+
+ static wxVisualAttributes
+ GetClassDefaultAttributes(wxWindowVariant variant = wxWINDOW_VARIANT_NORMAL);
protected:
virtual wxSize DoGetBestSize() const;