X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/28c0bed36a7063f87dc851e65fa3b0b606224ee1..b1229561e530e829f61887930f2004d9814743b0:/contrib/src/xml/xh_stlin.cpp diff --git a/contrib/src/xml/xh_stlin.cpp b/contrib/src/xml/xh_stlin.cpp index 0ec560d52c..546838654c 100644 --- a/contrib/src/xml/xh_stlin.cpp +++ b/contrib/src/xml/xh_stlin.cpp @@ -49,7 +49,7 @@ wxObject *wxStaticLineXmlHandler::DoCreateResource() bool wxStaticLineXmlHandler::CanHandle(wxXmlNode *node) { - return node->GetName() == _T("staticline"); + return IsOfClass(node, _T("wxStaticLine")); } #endif