void InfoPane::OnTabContextMenu(wxAuiNotebookEvent& event) { if (event.GetSelection() == -1) return; // select the notebook that sends the event, because the context menu-entries act on the actual selected tab SetSelection(event.GetSelection()); DoShowContextMenu(); }
void ReopenEditorListView::OnContextMenu(wxContextMenuEvent& /*event*/) { DoShowContextMenu(); }
void InfoPane::ContextMenu(wxContextMenuEvent& event) { DoShowContextMenu(); }