コード例 #1
0
ファイル: infopane.cpp プロジェクト: 469306621/Languages
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();
}
コード例 #2
0
void ReopenEditorListView::OnContextMenu(wxContextMenuEvent& /*event*/)
{
    DoShowContextMenu();
}
コード例 #3
0
ファイル: infopane.cpp プロジェクト: 469306621/Languages
void InfoPane::ContextMenu(wxContextMenuEvent& event)
{
    DoShowContextMenu();
}