fixed wxSpinButton handler (did refer to spinbutton nodename, not wxSpinButton class)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10282 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Václav Slavík 2001-05-22 22:03:33 +00:00
parent 1a3cb2caf8
commit 646a007c2c

View File

@ -55,7 +55,7 @@ wxObject *wxSpinButtonXmlHandler::DoCreateResource()
bool wxSpinButtonXmlHandler::CanHandle(wxXmlNode *node)
{
return node->GetName() == wxT("spinbutton");
return IsOfClass(node, wxT("wxSpinButton"));
}
#endif // wxUSE_SPINBTN