#include "wx/slider.h"
#endif
+static const long DEFAULT_VALUE = 0;
+static const long DEFAULT_MIN = 0;
+static const long DEFAULT_MAX = 100;
+
+
IMPLEMENT_DYNAMIC_CLASS(wxSliderXmlHandler, wxXmlResourceHandler)
wxSliderXmlHandler::wxSliderXmlHandler()
control->Create(m_parentAsWindow,
GetID(),
- GetLong(wxT("value"), wxSL_DEFAULT_VALUE),
- GetLong(wxT("min"), wxSL_DEFAULT_MIN),
- GetLong(wxT("max"), wxSL_DEFAULT_MAX),
+ GetLong(wxT("value"), DEFAULT_VALUE),
+ GetLong(wxT("min"), DEFAULT_MIN),
+ GetLong(wxT("max"), DEFAULT_MAX),
GetPosition(), GetSize(),
GetStyle(),
wxDefaultValidator,