[wxPython] Get Object by Id?

hi,

i have the id of an object (in ths case: a wxTextCtrl). How can i get a reference to this Object?? e.g. to call a function like SetValue()???

thx, reen

···

----
Rene Freund nur ein toter bug ist ein guter bug
rene@meder.de

Is this what you mean?

txtID = wxNewId()

spam = wxTextCtrl(panel, txtID, "", wxPoint(col, row), wxSize(width, height))

spam.SetValue("taco")

···

On Wednesday 13 June 2001 07:02 am, you wrote:

hi,

i have the id of an object (in ths case: a wxTextCtrl). How can i get a
reference to this Object?? e.g. to call a function like SetValue()???