]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/xrc/xh_scrol.h
fixing warning and compile error against 10.4
[wxWidgets.git] / include / wx / xrc / xh_scrol.h
index 3f2899045e6cb9b5a385243f97589fcf0fefd160..64f4230842e82dec988638bbedfadeecebf2f22c 100644 (file)
 
 class WXDLLIMPEXP_XRC wxScrollBarXmlHandler : public wxXmlResourceHandler
 {
 
 class WXDLLIMPEXP_XRC wxScrollBarXmlHandler : public wxXmlResourceHandler
 {
-    DECLARE_DYNAMIC_CLASS(wxScrollBarXmlHandler)
-    enum
-    {
-        wxSL_DEFAULT_VALUE = 0,
-        wxSL_DEFAULT_MIN = 0,
-        wxSL_DEFAULT_MAX = 100
-    };
-
 public:
     wxScrollBarXmlHandler();
     virtual wxObject *DoCreateResource();
     virtual bool CanHandle(wxXmlNode *node);
 public:
     wxScrollBarXmlHandler();
     virtual wxObject *DoCreateResource();
     virtual bool CanHandle(wxXmlNode *node);
+
+    DECLARE_DYNAMIC_CLASS(wxScrollBarXmlHandler)
 };
 
 #endif // wxUSE_XRC && wxUSE_SCROLLBAR
 };
 
 #endif // wxUSE_XRC && wxUSE_SCROLLBAR