diff options
| author | Matthias Melcher <fltk@matthiasm.com> | 2004-06-07 19:23:12 +0000 |
|---|---|---|
| committer | Matthias Melcher <fltk@matthiasm.com> | 2004-06-07 19:23:12 +0000 |
| commit | e85d7a87523b157b92a7a4d20029f80c4dccbec5 (patch) | |
| tree | 03e36456ee997b771320934b1ff797616b96d13a /src/Fl_File_Icon.cxx | |
| parent | 8b298e1b9ba706f7fa3c281698c14ad55037da90 (diff) | |
The first menuitem in a menulist would not honor teh MENU_INVISIBLE flag.
I added the function Fl_Menu_Item::first() whi returns the first visible
menuitem, just like ::next() returns the next visible item, and added the
::first() call in the Menu code.
first() is an inline function that calls next(0). I updated next() to
correctly handle list where the current item is invisible.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@3448 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'src/Fl_File_Icon.cxx')
0 files changed, 0 insertions, 0 deletions
