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:
parent
1a3cb2caf8
commit
646a007c2c
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user