imagemap support (html)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3068 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -38,8 +38,9 @@
|
||||
|
||||
void wxHtmlCell::OnMouseClick(wxWindow *parent, int x, int y, bool left, bool middle, bool right)
|
||||
{
|
||||
if (GetLink() != wxEmptyString)
|
||||
((wxHtmlWindow*)parent) -> OnLinkClicked(GetLink());
|
||||
wxString lnk = GetLink(x, y);
|
||||
if (lnk != wxEmptyString)
|
||||
((wxHtmlWindow*)parent) -> OnLinkClicked(lnk);
|
||||
// note : this overcasting is legal because parent is *always* wxHtmlWindow
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user