]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/gtk/button.h
Better support for unspecified property value in wxDateProperty and DatePickerCtrl...
[wxWidgets.git] / include / wx / gtk / button.h
index ce620dec4110d654737ddcabd0928bfaecd0b0a4..d04870f76e132c846c5c164eb0cd39e13e970a93 100644 (file)
@@ -37,17 +37,13 @@ public:
            const wxValidator& validator = wxDefaultValidator,
            const wxString& name = wxButtonNameStr);
 
-    virtual void SetDefault();
+    virtual wxWindow *SetDefault();
     virtual void SetLabel( const wxString &label );
     virtual bool Enable( bool enable = TRUE );
 
     // implementation
     // --------------
 
-    // 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);