// -------------------------------
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);
virtual wxSize DoGetBestSize() const;
- virtual void SetFocus();
// the handler for wxSpinButton events
void OnSpinChange(wxSpinEvent& event);