1
0
mirror of https://github.com/cookiengineer/audacity synced 2026-02-07 04:01:54 +01:00

Include the OSX keycode to open the context menu

And OSX doesn't like menu IDs of 0.
This commit is contained in:
Leland Lucius
2015-07-30 14:36:25 -05:00
parent c07accfc1e
commit 442c39d46f

View File

@@ -63,7 +63,7 @@ for drawing different aspects of the label and its text box.
enum
{
OnCutSelectedTextID,
OnCutSelectedTextID = 1, // OSX doesn't like a 0 menu id
OnCopySelectedTextID,
OnPasteSelectedTextID,
OnDeleteSelectedLabelID,
@@ -1837,6 +1837,7 @@ bool LabelTrack::OnKeyDown(SelectedRegion &newSel, wxKeyEvent & event)
}
break;
case '\x10': // OSX
case WXK_MENU:
case WXK_WINDOWS_MENU:
ShowContextMenu();