]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/gtk/button.h
made font a non-pointer; code cleanup
[wxWidgets.git] / include / wx / gtk / button.h
index f6d0a488574c68e874f08cf1537cb4ced81427dd..3a55ddec52e9ae6d5e996178d0f456b172529934 100644 (file)
@@ -10,7 +10,7 @@
 #ifndef __GTKBUTTONH__
 #define __GTKBUTTONH__
 
-#if defined(__GNUG__) && !defined(__APPLE__)
+#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
 #pragma interface
 #endif
 
@@ -65,6 +65,14 @@ public:
     // --------------
 
     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;