diff options
Diffstat (limited to 'FL')
| -rw-r--r-- | FL/Fl_Menu_Item.H | 3 | ||||
| -rw-r--r-- | FL/Fl_Sys_Menu_Bar.H | 2 |
2 files changed, 4 insertions, 1 deletions
diff --git a/FL/Fl_Menu_Item.H b/FL/Fl_Menu_Item.H index ebff23ae2..55f953db6 100644 --- a/FL/Fl_Menu_Item.H +++ b/FL/Fl_Menu_Item.H @@ -23,6 +23,9 @@ # include "Fl_Image.H" # include <FL/platform_types.h> // for FL_COMMAND and FL_CONTROL +// doxygen needs the following line to enable e.g. ::FL_MENU_TOGGLE to link to the enums +/// @file + enum { // values for flags: FL_MENU_INACTIVE = 1, ///< Deactivate menu item (gray out) FL_MENU_TOGGLE= 2, ///< Item is a checkbox toggle (shows checkbox for on/off state) diff --git a/FL/Fl_Sys_Menu_Bar.H b/FL/Fl_Sys_Menu_Bar.H index c866c083d..61d97fe52 100644 --- a/FL/Fl_Sys_Menu_Bar.H +++ b/FL/Fl_Sys_Menu_Bar.H @@ -70,7 +70,7 @@ public: return insert(index, label, fl_old_shortcut(shortcut), cb, user_data, flags); } void remove(int n); - void replace(int rank, const char *name); + void replace(int index, const char *name); /** Set the Fl_Menu_Item array pointer to null, indicating a zero-length menu. \see Fl_Menu_::clear() */ |
