]> git.saurik.com Git - wxWidgets.git/blobdiff - contrib/src/xml/xh_slidr.cpp
added timestamping to wxLogStream
[wxWidgets.git] / contrib / src / xml / xh_slidr.cpp
index 12afa0aabba18f9fff93509397b60956962e276d..ec99ffb413d7c635b1bb898076a06cbbbc96cbe1 100644 (file)
@@ -87,7 +87,7 @@ wxObject *wxSliderXmlHandler::DoCreateResource()
 
 bool wxSliderXmlHandler::CanHandle(wxXmlNode *node)
 {
 
 bool wxSliderXmlHandler::CanHandle(wxXmlNode *node)
 {
-    return node->GetName() == _T("slider");
+    return IsOfClass(node, _T("wxSlider"));
 }
 
 
 }