git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46933
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
if ( name == _T("icon") )
return true;
- // URLs in wxHtmlWindow:
- if ( name == _T("url") )
- return true;
-
// wxBitmapButton:
wxXmlNode *parent = node->GetParent();
if (parent != NULL &&
return true;
}
+ // URLs in wxHtmlWindow:
+ if ( name == _T("url") &&
+ parent != NULL &&
+ parent->GetPropVal(_T("class"), _T("")) == _T("wxHtmlWindow") )
+ {
+ // FIXME: this is wrong for e.g. http:// URLs
+ return true;
+ }
+
return false;
}