X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/12028905135250524409f1e7b9bfa9c55e5ce16b..adbf2d732fe5f254f45ab27530e4f9c044cb385f:/include/wx/gtk1/button.h?ds=sidebyside diff --git a/include/wx/gtk1/button.h b/include/wx/gtk1/button.h index 84b20b81a0..59d8bb74c3 100644 --- a/include/wx/gtk1/button.h +++ b/include/wx/gtk1/button.h @@ -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;