dynamically created event separation

Vadim Zeitlin vadim at wxwidgets.org
Sun Feb 3 06:28:28 PST 2008


On Sun, 3 Feb 2008 06:22:21 -0800 (PST) szurilo <szurilo at sch.bme.hu> wrote:

s> Actually these dont help me, because i have the same ID for the wxTextCtrls.

 You can't use the same id for different controls. You must use wxID_ANY if
you don't care about the id.

s> Should i create an own event class deriving from the wxTextCtrl or
s> something?

 What would this change? If you can't use GetEventObject() (why?) I don't
see how can you ever find out what control sent the event.

 Regards,
VZ

-- 
TT-Solutions: wxWidgets consultancy and technical support
               http://www.tt-solutions.com/





More information about the wx-users mailing list