This fixes generation of EVT_CONTEXT_MENU for mouse clicks in wxHtmlWindow
under MSW: it wasn't generated before because we always ate the right mouse
clicks.
Closes #2465.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70394
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
#endif // wxUSE_CLIPBOARD
wxPoint pos = CalcUnscrolledPosition(event.GetPosition());
- wxHtmlWindowMouseHelper::HandleMouseClick(m_Cell, pos, event);
+ if ( !wxHtmlWindowMouseHelper::HandleMouseClick(m_Cell, pos, event) )
+ event.Skip();
}
#if wxUSE_CLIPBOARD