X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/12028905135250524409f1e7b9bfa9c55e5ce16b..ffafd8a55bb0b8fb4236e4522792a6b143813609:/include/wx/gtk1/button.h diff --git a/include/wx/gtk1/button.h b/include/wx/gtk1/button.h index 84b20b81a0..5c90c03e24 100644 --- a/include/wx/gtk1/button.h +++ b/include/wx/gtk1/button.h @@ -67,6 +67,10 @@ 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; } + protected: virtual wxSize DoGetBestSize() const;