X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/0416c41834f36316a03720c4ed05cdf36964a2f3..c220de0b393b5098c705c1a62ef7fc4698e2fa52:/include/wx/gtk/button.h diff --git a/include/wx/gtk/button.h b/include/wx/gtk/button.h index ce620dec41..d04870f76e 100644 --- a/include/wx/gtk/button.h +++ b/include/wx/gtk/button.h @@ -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);