]> git.saurik.com Git - wxWidgets.git/blobdiff - contrib/src/xml/xh_spin.cpp
test for bug with new wu-ftpd
[wxWidgets.git] / contrib / src / xml / xh_spin.cpp
index 0a557f2eebd100f85fc747d91aec55a4fa0c6c17..24f046fd165e8f2178fb7678dccd40d221bc2c80 100644 (file)
@@ -93,7 +93,7 @@ wxObject *wxSpinCtrlXmlHandler::DoCreateResource()
 
 bool wxSpinCtrlXmlHandler::CanHandle(wxXmlNode *node)
 {
-    return node->GetName() == _T("spinctrl");
+    return IsOfClass(node, _T("wxSpinCtrl"));
 }
 
 #endif // wxUSE_SPINCTRL