]> git.saurik.com Git - wxWidgets.git/blobdiff - contrib/src/xml/xh_radbt.cpp
added timestamping to wxLogStream
[wxWidgets.git] / contrib / src / xml / xh_radbt.cpp
index f68de955188cc9619b37df8179593e8e2877dce9..d8306a034d2a82399ea6a9c275b93ecd493e406b 100644 (file)
@@ -59,7 +59,7 @@ wxObject *wxRadioButtonXmlHandler::DoCreateResource()
 
 bool wxRadioButtonXmlHandler::CanHandle(wxXmlNode *node)
 {
-    return node->GetName() == _T("radiobutton");
+    return IsOfClass(node, _T("wxRadioButton"));
 }