Handle EVT_CONTEXT_MENU directly in wxSTC (wxOSX)
A simulation of context menu event by handling directly EVT_RIGHT_UP was implemented in wxSTC in451c5cc7b9
, but later on, EVT_CONTEXT_MENU generation in wxOSX was fixed in524c47aa3a
so simulation is no longer necessary and this event can be directly handled in wxSTC.
This commit is contained in:
@@ -5427,7 +5427,6 @@ protected:
|
||||
void OnMouseRightDown(wxMouseEvent& evt);
|
||||
void OnMouseMove(wxMouseEvent& evt);
|
||||
void OnMouseLeftUp(wxMouseEvent& evt);
|
||||
void OnMouseRightUp(wxMouseEvent& evt);
|
||||
void OnMouseMiddleUp(wxMouseEvent& evt);
|
||||
void OnContextMenu(wxContextMenuEvent& evt);
|
||||
void OnMouseWheel(wxMouseEvent& evt);
|
||||
|
Reference in New Issue
Block a user