From: Jouke V. <jo...@pv...> - 2001-09-30 16:05:47
|
Hi, > Do you mean that calling Invoke will cause a wxMouseEvent to be sent > to the button? Yes, that's what I mean. > I din't do that mainly because this is not very useful, in general: > most of the time you can do: <snip> I know. That's the way I'm handling it now. But I actually want to really invoke the event itself. That way I don't need a different subroutine for everything. I already have a Tk application which I want to convert to Wx, which creates the callback dynamically. Those kinds of callbacks can only be invoked by virtually generating the event. > Before you ask: user-defined events are not yet implemented in > wxPerl. Well, that would be one way to solve my problem. Is there a specific reason why this isn't implemented yet, or is it just a matter of time? OK, hereby my official Feature Request: Could you implement user-defined events? -- *-----------------------------------------------* |Jouke Visser |jo...@pv... | |Perl GUI Geek |http://www.pvoice.org | *-----------------------------------------------* PS: Notice new mailaddress!! |