// ----------------------------------------------------------------------------
class WXDLLIMPEXP_CORE wxSpinCtrlGenericBase
- : public wxCompositeWindow<wxSpinCtrlBase>
+ : public wxNavigationEnabled<wxCompositeWindow<wxSpinCtrlBase> >
{
public:
wxSpinCtrlGenericBase() { Init(); }
virtual void DoSetToolTip(wxToolTip *tip);
#endif // wxUSE_TOOLTIPS
+ virtual bool SetBackgroundColour(const wxColour& colour);
+
// get the subcontrols
wxTextCtrl *GetText() const { return m_textCtrl; }
wxSpinButton *GetSpinButton() const { return m_spinButton; }
protected:
// override the base class virtuals involved into geometry calculations
virtual wxSize DoGetBestSize() const;
+ virtual wxSize DoGetSizeFromTextSize(int xlen, int ylen = -1) const;
virtual void DoMoveWindow(int x, int y, int width, int height);
#ifdef __WXMSW__