diff --git a/test/editor.cxx b/test/editor.cxx index 74cfbef37..ffd8c1d57 100644 --- a/test/editor.cxx +++ b/test/editor.cxx @@ -742,27 +742,27 @@ void view_cb(Fl_Widget*, void*) { Fl_Menu_Item menuitems[] = { { "&File", 0, 0, 0, FL_SUBMENU }, { "&New File", 0, (Fl_Callback *)new_cb }, - { "&Open File...", FL_CTRL + 'o', (Fl_Callback *)open_cb }, - { "&Insert File...", FL_CTRL + 'i', (Fl_Callback *)insert_cb, 0, FL_MENU_DIVIDER }, - { "&Save File", FL_CTRL + 's', (Fl_Callback *)save_cb }, - { "Save File &As...", FL_CTRL + FL_SHIFT + 's', (Fl_Callback *)saveas_cb, 0, FL_MENU_DIVIDER }, - { "New &View", FL_ALT + 'v', (Fl_Callback *)view_cb, 0 }, - { "&Close View", FL_CTRL + 'w', (Fl_Callback *)close_cb, 0, FL_MENU_DIVIDER }, - { "E&xit", FL_CTRL + 'q', (Fl_Callback *)quit_cb, 0 }, + { "&Open File...", FL_COMMAND + 'o', (Fl_Callback *)open_cb }, + { "&Insert File...", FL_COMMAND + 'i', (Fl_Callback *)insert_cb, 0, FL_MENU_DIVIDER }, + { "&Save File", FL_COMMAND + 's', (Fl_Callback *)save_cb }, + { "Save File &As...", FL_COMMAND + FL_SHIFT + 's', (Fl_Callback *)saveas_cb, 0, FL_MENU_DIVIDER }, + { "New &View", FL_ALT + 'v', (Fl_Callback *)view_cb, 0 }, + { "&Close View", FL_COMMAND + 'w', (Fl_Callback *)close_cb, 0, FL_MENU_DIVIDER }, + { "E&xit", FL_COMMAND + 'q', (Fl_Callback *)quit_cb, 0 }, { 0 }, { "&Edit", 0, 0, 0, FL_SUBMENU }, - { "Cu&t", FL_CTRL + 'x', (Fl_Callback *)cut_cb }, - { "&Copy", FL_CTRL + 'c', (Fl_Callback *)copy_cb }, - { "&Paste", FL_CTRL + 'v', (Fl_Callback *)paste_cb }, - { "&Delete", 0, (Fl_Callback *)delete_cb }, + { "Cu&t", FL_COMMAND + 'x', (Fl_Callback *)cut_cb }, + { "&Copy", FL_COMMAND + 'c', (Fl_Callback *)copy_cb }, + { "&Paste", FL_COMMAND + 'v', (Fl_Callback *)paste_cb }, + { "&Delete", 0, (Fl_Callback *)delete_cb }, { 0 }, { "&Search", 0, 0, 0, FL_SUBMENU }, - { "&Find...", FL_CTRL + 'f', (Fl_Callback *)find_cb }, - { "F&ind Again", FL_CTRL + 'g', find2_cb }, - { "&Replace...", FL_CTRL + 'r', replace_cb }, - { "Re&place Again", FL_CTRL + 't', replace2_cb }, + { "&Find...", FL_COMMAND + 'f', (Fl_Callback *)find_cb }, + { "F&ind Again", FL_COMMAND + 'g', find2_cb }, + { "&Replace...", FL_COMMAND + 'r', replace_cb }, + { "Re&place Again", FL_COMMAND + 't', replace2_cb }, { 0 }, { 0 }