]> git.saurik.com Git - wxWidgets.git/blobdiff - contrib/src/xml/xh_gauge.cpp
test for bug with new wu-ftpd
[wxWidgets.git] / contrib / src / xml / xh_gauge.cpp
index cefe815ac69a5109b907e96dedd920d528097279..5989d2859f6611f1f98ecc436197818e0dd51b9d 100644 (file)
@@ -67,7 +67,7 @@ wxObject *wxGaugeXmlHandler::DoCreateResource()
 
 bool wxGaugeXmlHandler::CanHandle(wxXmlNode *node)
 {
-    return node->GetName() == _T("gauge");
+    return IsOfClass(node, _T("wxGauge"));
 }