summaryrefslogtreecommitdiff
path: root/FL/Fl_Sys_Menu_Bar.H
diff options
context:
space:
mode:
authorGreg Ercolano <erco@seriss.com>2016-07-19 23:50:09 +0000
committerGreg Ercolano <erco@seriss.com>2016-07-19 23:50:09 +0000
commitf375b6098f48935ed9de785646b5f28fe21a8aab (patch)
tree9b18c913ef94274c68ef73b77d511c0d22af9c02 /FL/Fl_Sys_Menu_Bar.H
parent4f9345b40ab4e8c772460cb0d7a0a6475fa731d1 (diff)
Bringing over fix [r11786] from 1.3 current to the porting branch.
Some small Fl_Sys_Menu_Bar related doc mods as per STR#3317. WIP -- more to come; just checking in what I have for now.. 1) rank -> index 2) Added docs for index \return values for some methods 3) Some clarification in the internal docs about rank vs. index 4) Enabled Fl_Menu_Item's enum flags to be able to be links (added @file to Fl_Menu_Item.H) so references to e.g. "::FL_MENU_TOGGLE" will show up as links in doxygen docs. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11825 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'FL/Fl_Sys_Menu_Bar.H')
-rw-r--r--FL/Fl_Sys_Menu_Bar.H2
1 files changed, 1 insertions, 1 deletions
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()
*/