X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/9750fc4245cf539981863964183754a930632f19..40bd6154f1476dbe598c60b4760bbf2fe0d9ab0f:/include/wx/msw/spinctrl.h diff --git a/include/wx/msw/spinctrl.h b/include/wx/msw/spinctrl.h index f6c8f8fd52..9a160ff7aa 100644 --- a/include/wx/msw/spinctrl.h +++ b/include/wx/msw/spinctrl.h @@ -54,10 +54,18 @@ public: // because the base class already has one returning int!) void SetValue(const wxString& text); - // override some of the base class virtuals + // implementation only from now on + // ------------------------------- + virtual void SetValue(int val) { wxSpinButton::SetValue(val); } - virtual int GetValue() const; + virtual int GetValue() const; virtual bool SetFont(const wxFont &font); + virtual void SetFocus(); + + virtual bool Enable(bool enable = TRUE); + virtual bool Show(bool show = TRUE); + + virtual bool AcceptsFocus() const { return TRUE; } protected: virtual void DoMoveWindow(int x, int y, int width, int height);