]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/gtk/button.h
workaround for BCC bug - use #defines instead of enums
[wxWidgets.git] / include / wx / gtk / button.h
index 84b20b81a08756fa08972731e7b10c2f4bf86f9a..3a55ddec52e9ae6d5e996178d0f456b172529934 100644 (file)
@@ -67,6 +67,13 @@ 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;