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:
@@ -6437,8 +6437,8 @@ public:
|
||||
@link wxStyledTextCtrl::wxSTC_POPUP_NEVER wxSTC_POPUP_* @endlink constants.
|
||||
@remarks
|
||||
When wxContextMenuEvent is used to create a custom popup menu,
|
||||
this function should be called with wxSTC_POPUP_NEVER. Otherwise both
|
||||
the custom and the default popup menus may be shown.
|
||||
this function should be called with wxSTC_POPUP_NEVER. Otherwise
|
||||
the default menu will be shown instead of the custom one.
|
||||
*/
|
||||
void UsePopUp(int popUpMode);
|
||||
|
||||
|
Reference in New Issue
Block a user