From 646a007c2cc34db1372154ca64c982464d5cdce2 Mon Sep 17 00:00:00 2001 From: =?utf8?q?V=C3=A1clav=20Slav=C3=ADk?= Date: Tue, 22 May 2001 22:03:33 +0000 Subject: [PATCH] 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 --- contrib/src/xml/xh_spin.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.50.0