Gui* gui = <whatever it is>;
bind1st(mem_fun(Gui::menu_quit), gui)
Sorry, I don't understand. At present it has:
file->begin();
new Item("Open", 0, callback_cast(menu_fltk_open_file));
new Item("Save as", 0,
callback_cast(menu_fltk_save_file_as));
new Item("Quit", 0, callback_cast(menu_quit));
file->end();
Can u say what lines I need to replace the "Quit" line with, or
(better) an implementation of a new menu_fltk_quit to be used in this
context instead of menu_quit, but defined in terms of menu-quit?
I can then probably fix all the others.
M
_______________________________________________
Gnash-dev mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/gnash-dev