]> git.saurik.com Git - wxWidgets.git/blobdiff - contrib/src/xml/xh_bmpbt.cpp
test for bug with new wu-ftpd
[wxWidgets.git] / contrib / src / xml / xh_bmpbt.cpp
index 0fa81797ee69fe0a8548b6a3fd2cd64619e64e1d..a4230b1c74584f45111d7b0092437314e22bb67c 100644 (file)
@@ -60,7 +60,7 @@ wxObject *wxBitmapButtonXmlHandler::DoCreateResource()
 
 bool wxBitmapButtonXmlHandler::CanHandle(wxXmlNode *node)
 {
-    return node->GetName() == _T("bitmapbutton");
+    return IsOfClass(node, _T("wxBitmapButton"));
 }