Re: wxEuphoria - get_facenames() issue
- Posted by Greg Haberek <ghaberek at g?ail.co?> Feb 05, 2008
- 884 views
Matt Lewis wrote: > > I've fought this issue many times, and I think now I have the best solution. > Part of the problem is that I have to take whatever I'm handed by wxWidgets, I got it to work. But... why do the docs say this method is depreciated, when it's the only thing that works?
set_event_handler( {frmMain,mnuFile}, -1, wxEVT_COMMAND_MENU_SELECTED, routine_id("menus_onClick") )
Also, could you make it so that we can pass multiple menus to the event handler? Something like this would work well:
set_event_handler( {frmMain,mnuFile,mnuEdit,mnuView,mnuHelp}, -1, wxEVT_COMMAND_MENU_SELECTED, routine_id("menus_onClick") )
-Greg