X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/dd47af27e12ee66b3e9eed6f1711e516f36dc837..9869c26285dc51d13607cddaa04f65ce983653a5:/include/wx/xrc/xh_spin.h diff --git a/include/wx/xrc/xh_spin.h b/include/wx/xrc/xh_spin.h index c2b23b1b50..7525ba4cd9 100644 --- a/include/wx/xrc/xh_spin.h +++ b/include/wx/xrc/xh_spin.h @@ -3,7 +3,6 @@ // Purpose: XML resource handler for wxSpinButton and wxSpinCtrl // Author: Bob Mitchell // Created: 2000/03/21 -// RCS-ID: $Id$ // Copyright: (c) 2000 Bob Mitchell and Verant Interactive // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// @@ -13,24 +12,18 @@ #include "wx/xrc/xmlres.h" -#if wxUSE_XRC +#if wxUSE_XRC #if wxUSE_SPINBTN class WXDLLIMPEXP_XRC wxSpinButtonXmlHandler : public wxXmlResourceHandler { - DECLARE_DYNAMIC_CLASS(wxSpinButtonXmlHandler) - enum - { - wxSP_DEFAULT_VALUE = 0, - wxSP_DEFAULT_MIN = 0, - wxSP_DEFAULT_MAX = 100 - }; - public: wxSpinButtonXmlHandler(); virtual wxObject *DoCreateResource(); virtual bool CanHandle(wxXmlNode *node); + + DECLARE_DYNAMIC_CLASS(wxSpinButtonXmlHandler) }; #endif // wxUSE_SPINBTN @@ -40,18 +33,12 @@ public: class WXDLLIMPEXP_XRC wxSpinCtrlXmlHandler : public wxXmlResourceHandler { - DECLARE_DYNAMIC_CLASS(wxSpinCtrlXmlHandler) - enum - { - wxSP_DEFAULT_VALUE = 0, - wxSP_DEFAULT_MIN = 0, - wxSP_DEFAULT_MAX = 100 - }; - public: wxSpinCtrlXmlHandler(); virtual wxObject *DoCreateResource(); virtual bool CanHandle(wxXmlNode *node); + + DECLARE_DYNAMIC_CLASS(wxSpinCtrlXmlHandler) }; #endif // wxUSE_SPINCTRL