Re: wxEuphoria - get_facenames() issue

new topic     » goto parent     » topic index » view thread      » older message » newer message

Matt Lewis wrote:
> 
> Heh, unless you have a very slow connection, looks like the answer was 
> probably not (didn't get online all weekend).  Unfortunately, this was a 
> casualty of changing the file name, and then me forgetting how the distro
> script worked.  I should probably put it into the makefile.
> 
> I've uploaded a correct version to sourceforge, if you haven't already built
> your own.

I wasn't online much over the whole weekend, either. I just downloaded the new
package last night and tried it out. Everything seemed to launch correctly, but
my menus don't work!

I give my corresponding menu items and toolbar buttons the same wxID_----
values, so they trigger the same events. To catch all these events in a single
handler, I pass -1 as the id to set_event_handler():

set_event_handler( frmMain, -1, wxEVT_COMMAND_MENU_SELECTED,
routine_id("menus_onClick") )
set_event_handler( tbrMain, -1, wxEVT_COMMAND_MENU_SELECTED,
routine_id("menus_onClick") )


On Windows, this worked great. But on Linux (Ubuntu 7.10), only the toolbar
events get passed, and the menus do nothing.

-Greg

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu