ADD_STYLE( wxSP_VERTICAL );
ADD_STYLE( wxSP_ARROW_KEYS );
ADD_STYLE( wxSP_WRAP );
+ AddWindowStyles();
}
wxObject *wxSpinButtonXmlHandler::DoCreateResource()
bool wxSpinCtrlXmlHandler::CanHandle(wxXmlNode *node)
{
- return node->GetName() == _T("spinctrl");
+ return IsOfClass(node, _T("wxSpinCtrl"));
}
#endif // wxUSE_SPINCTRL