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:
@@ -55,7 +55,7 @@ wxObject *wxSpinButtonXmlHandler::DoCreateResource()
|
|||||||
|
|
||||||
bool wxSpinButtonXmlHandler::CanHandle(wxXmlNode *node)
|
bool wxSpinButtonXmlHandler::CanHandle(wxXmlNode *node)
|
||||||
{
|
{
|
||||||
return node->GetName() == wxT("spinbutton");
|
return IsOfClass(node, wxT("wxSpinButton"));
|
||||||
}
|
}
|
||||||
|
|
||||||
#endif // wxUSE_SPINBTN
|
#endif // wxUSE_SPINBTN
|
||||||
|
Reference in New Issue
Block a user