find_index() exists only in fltk 1.3.x

This commit is contained in:
Sanel Zukan
2011-10-29 16:06:27 +00:00
parent 2e4fc39aa2
commit 4c94bcd899
2 changed files with 26 additions and 2 deletions

View File

@@ -22,6 +22,12 @@ public:
void select_by_cmd(const char *cmd);
const char *selected(void);
void on_select(void);
/*
* FLTK 1.3 has this function, but not previous one versions.
* Here, we are not traversing submenus, e.g. Edit/Copy, but only top level ones
*/
int find_item_index(const char *p);
};
#endif