X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/2b9048c56f0aa04b2adbb7813f9698abdda15184..6bda7508c6e41365b69fdf690b3070991098a7af:/wxPython/src/_spin.i diff --git a/wxPython/src/_spin.i b/wxPython/src/_spin.i index 1b100a21e5..7f9f33a1da 100644 --- a/wxPython/src/_spin.i +++ b/wxPython/src/_spin.i @@ -38,6 +38,7 @@ enum { // wxSP_VERTICAL: vertical spin button (the default) // wxSP_ARROW_KEYS: arrow keys increment/decrement value // wxSP_WRAP: value wraps at either end +MustHaveApp(wxSpinButton); class wxSpinButton : public wxControl { public: @@ -68,6 +69,9 @@ public: // is this spin button vertically oriented? bool IsVertical() const; + + static wxVisualAttributes + GetClassDefaultAttributes(wxWindowVariant variant = wxWINDOW_VARIANT_NORMAL); }; @@ -77,6 +81,8 @@ public: // a spin ctrl is a text control with a spin button which is usually used to // prompt the user for a numeric input +MustHaveApp(wxSpinCtrl); + class wxSpinCtrl : public wxControl { public: @@ -110,6 +116,9 @@ public: virtual int GetMin() const; virtual int GetMax() const; void SetSelection(long from, long to); + + static wxVisualAttributes + GetClassDefaultAttributes(wxWindowVariant variant = wxWINDOW_VARIANT_NORMAL); };