X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/4bf45c9ecafa14b167ef0c911a83cd5cc8fba4d2..cbfc8d9a612c3c498b0716e828629674f4e63363:/include/wx/msw/spinbutt.h diff --git a/include/wx/msw/spinbutt.h b/include/wx/msw/spinbutt.h index 0336eb411b..56e69f30b8 100644 --- a/include/wx/msw/spinbutt.h +++ b/include/wx/msw/spinbutt.h @@ -12,10 +12,6 @@ #ifndef _WX_SPINBUTT_H_ #define _WX_SPINBUTT_H_ -#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) - #pragma interface "spinbutt.h" -#endif - #include "wx/control.h" #include "wx/event.h" @@ -64,6 +60,9 @@ public: protected: virtual wxSize DoGetBestSize() const; + // ensure that the control displays a value in the current range + virtual void NormalizeValue(); + private: DECLARE_DYNAMIC_CLASS_NO_COPY(wxSpinButton) };