wxListCtrl::SetItemData why is it a long?
Jorgen Bodde
jorgen.maillist at gmail.com
Wed May 9 00:20:39 PDT 2007
Hi Everyone!
I was wondering why wxListCtrl::SetItemData accepts long ints instead
of void *. I'm now also playing with wxPython, and it is impossible to
assign a PyObject to the ItemData because of this. The
wxControlWithItems::SetClientData is working correct, and there is no
problem there.
Is there a chance this could be changed in the next release? Basically
a void * can hold also ints and longs, but a long cannot always hold a
void * pointer because it is platform dependent (at least as far a I
know)
Regards,
- Jorgen
More information about the wx-dev
mailing list