diff options
author | Pierre Ossman <ossman@cendio.se> | 2015-02-25 11:27:49 +0100 |
---|---|---|
committer | Pierre Ossman <ossman@cendio.se> | 2015-02-25 11:27:49 +0100 |
commit | 245c8022268ab0111cd0c1eba2d98c83e4261181 (patch) | |
tree | 298e15efdd8f8726a29b7384fe10ce37e012606c /vncviewer/OptionsDialog.cxx | |
parent | b5b0ea5771f5eb1c6fef2dba998bb59c430a16b3 (diff) | |
download | tigervnc-245c8022268ab0111cd0c1eba2d98c83e4261181.tar.gz tigervnc-245c8022268ab0111cd0c1eba2d98c83e4261181.zip |
Escape FLTK menu entries
We don't want it automatically creating submenus when least
expected.
Diffstat (limited to 'vncviewer/OptionsDialog.cxx')
-rw-r--r-- | vncviewer/OptionsDialog.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/vncviewer/OptionsDialog.cxx b/vncviewer/OptionsDialog.cxx index b9752aa1..9fa9a665 100644 --- a/vncviewer/OptionsDialog.cxx +++ b/vncviewer/OptionsDialog.cxx @@ -724,9 +724,9 @@ void OptionsDialog::createInputPage(int tx, int ty, int tw, int th) menuKeyChoice = new Fl_Choice(LBLLEFT(tx, ty, 150, CHOICE_HEIGHT, _("Menu key"))); - menuKeyChoice->add(_("None"), 0, NULL, (void*)0, FL_MENU_DIVIDER); + fltk_menu_add(menuKeyChoice, _("None"), 0, NULL, (void*)0, FL_MENU_DIVIDER); for (int i = 0; i < getMenuKeySymbolCount(); i++) - menuKeyChoice->add(getMenuKeySymbols()[i].name, 0, NULL, 0, 0); + fltk_menu_add(menuKeyChoice, getMenuKeySymbols()[i].name, 0, NULL, 0, 0); ty += CHOICE_HEIGHT + TIGHT_MARGIN; |