]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/gtk1/button.h
deprecated wxBookCtrlSizer and wxNotebookSizer, they are no longer needed
[wxWidgets.git] / include / wx / gtk1 / button.h
index 5b895a059ef59d2615a83ab368e618507095127b..59d8bb74c3e255426f3f13791d53060805bc251c 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
 
@@ -64,9 +64,16 @@ public:
     // implementation
     // --------------
 
-    void ApplyWidgetStyle();
+    void DoApplyWidgetStyle(GtkRcStyle *style);
     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;