Hi all,
Thanks for a brilliant UI toolkit?
How can I get the Object that send a specific event?
I am using a wxCalendarCtrl and I would like to know which object triggered
the EVT_CALENDAR_DAY.
I tried using the event.GetEventObject(), but this only returned None.
I am now trying to use the event.GetId() to try to find the object
associated with this id, but I don't know how to accomplish this.
I tried using the wxWindow.FindWindowById method but this returns a
wxControl object and not a wxCalendarCtrl object.
Could anyone share any light on this as I am having 12 calendar controls and
I don't want to write unnessary code.
Regards
Gerrit van Dyk
···
-------------------------------------------------------------------------
This e-mail is intended only for the use of the individual or entity named
above and may contain information that is confidential and privileged,
proprietary to the company and protected by law. If you are not the intended
recipient, you are hereby notified that any dissemination, distribution or
copying of this e-mail is strictly prohibited. Opinions, conclusions and
other information in this message that do not relate to the official
business of our company shall be understood as neither given nor endorsed by
it.