ADD_STYLE( wxSL_BOTTOM );
ADD_STYLE( wxSL_BOTH );
ADD_STYLE( wxSL_SELRANGE );
+ AddWindowStyles();
}
wxObject *wxSliderXmlHandler::DoCreateResource()
bool wxSliderXmlHandler::CanHandle(wxXmlNode *node)
{
- return node->GetName() == _T("slider");
+ return IsOfClass(node, _T("wxSlider"));
}