Skip EVT_RIGHT_UP event in wxHtmlWindow if it wasn't handled.
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
This commit is contained in:
@@ -1282,7 +1282,8 @@ void wxHtmlWindow::OnMouseUp(wxMouseEvent& event)
|
||||
#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
|
||||
|
Reference in New Issue
Block a user