Re: wxEuphoria - get_facenames() issue
- Posted by Greg Haberek <ghaberek at gmail.??m> Feb 06, 2008
- 708 views
Matt Lewis wrote: > > If you take a look at set_event_handler in wxeud.e, you'll see that it now > discards the frmMain, and just uses mnuFile (which is the documented > way to do it). So on Windows, I have to use frmMain, and on Linux I use mnuFile, mnuEdit, etc.? I can handle that. > This is a possibility. Basically, it would just be a for loop in > set_event_handler. The only issue is that there is likely code out there > that still uses the deprecated way of doing it, so we'd start breaking things. > Maybe for the next release. In the mean time, you could always wrap it > to do that yourself. Or maybe add a new function (set_handler). That > way new code could take advantage without worrying about breaking old > code. I can do it myself. I'll just wrap this and the above into a single routine that will handle it for both platforms. -Greg