From: Václav Slavík Date: Tue, 22 May 2001 22:03:33 +0000 (+0000) Subject: fixed wxSpinButton handler (did refer to spinbutton nodename, not wxSpinButton class) X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/646a007c2cc34db1372154ca64c982464d5cdce2 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 --- diff --git a/contrib/src/xml/xh_spin.cpp b/contrib/src/xml/xh_spin.cpp index 689fe6f21a..008876cfd1 100644 --- a/contrib/src/xml/xh_spin.cpp +++ b/contrib/src/xml/xh_spin.cpp @@ -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