X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/f8f9ec5563b78655cfb49f501f0fda306e831642..6033bbc1ff95fb69b65b081d03b4a679dd958e75:/include/wx/gtk1/spinctrl.h diff --git a/include/wx/gtk1/spinctrl.h b/include/wx/gtk1/spinctrl.h index f39e5184e6..425f31f335 100644 --- a/include/wx/gtk1/spinctrl.h +++ b/include/wx/gtk1/spinctrl.h @@ -59,6 +59,9 @@ public: virtual int GetMin() const; virtual int GetMax() const; + static wxVisualAttributes + GetClassDefaultAttributes(wxWindowVariant variant = wxWINDOW_VARIANT_NORMAL); + // implementation void OnChar( wxKeyEvent &event ); @@ -73,6 +76,10 @@ public: protected: virtual wxSize DoGetBestSize() const; + // Widgets that use the style->base colour for the BG colour should + // override this and return true. + virtual bool UseGTKStyleBase() const { return true; } + private: DECLARE_DYNAMIC_CLASS(wxSpinCtrl) DECLARE_EVENT_TABLE()