X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/09dc1241b72e4c03d2ebd757bb063296aef7a18e..b1229561e530e829f61887930f2004d9814743b0:/contrib/src/xml/xh_html.cpp?ds=inline diff --git a/contrib/src/xml/xh_html.cpp b/contrib/src/xml/xh_html.cpp index e94e0c8f96..23a5cb4c27 100644 --- a/contrib/src/xml/xh_html.cpp +++ b/contrib/src/xml/xh_html.cpp @@ -66,7 +66,7 @@ wxObject *wxHtmlWindowXmlHandler::DoCreateResource() bool wxHtmlWindowXmlHandler::CanHandle(wxXmlNode *node) { - return node->GetName() == _T("htmlwindow"); + return IsOfClass(node, _T("wxHtmlWindow")); } #endif // wxUSE_HTML