diff options
| author | Matthias Melcher <fltk@matthiasm.com> | 2010-02-26 13:03:21 +0000 |
|---|---|---|
| committer | Matthias Melcher <fltk@matthiasm.com> | 2010-02-26 13:03:21 +0000 |
| commit | 4a802a315952a1392a82e3dc42c7316b540320f9 (patch) | |
| tree | fb600b123307a93ee0532fdc976df353f8ecdc62 /FL/Fl_Menu_.H | |
| parent | 47bcd46d26814b78897b315325b83de57bc78d1d (diff) | |
Fixed menu item counting issue in Fluid (STR #2322), Added Fl_Menu_::find_item by callback
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7150 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'FL/Fl_Menu_.H')
| -rw-r--r-- | FL/Fl_Menu_.H | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/FL/Fl_Menu_.H b/FL/Fl_Menu_.H index 27812bb80..20ec75e7d 100644 --- a/FL/Fl_Menu_.H +++ b/FL/Fl_Menu_.H @@ -65,6 +65,7 @@ public: int item_pathname(char *name, int namelen, const Fl_Menu_Item *finditem=0) const; const Fl_Menu_Item* picked(const Fl_Menu_Item*); const Fl_Menu_Item* find_item(const char *name); + const Fl_Menu_Item* find_item(Fl_Callback*); const Fl_Menu_Item* test_shortcut() {return picked(menu()->test_shortcut());} void global(); |
