|
From: Moses M. <mo...@te...> - 2014-01-28 01:35:22
|
Hi,
I am using wxlua which is embedded in a program using wxwidgets 2.8.12.
I am trying to set client data to items in a wxChoice something like
this like this:
somenumber = 3
cbJointType:Append("Bevel", somenumber)
But if I try to get the client data later it just always returns 0.
According to the wxlua ref manual it looks like this should work to me:
int Append(const wxString& item, voidptr_long number); // C++ is (void
*clientData) You can put a number here
http://wxlua.sourceforge.net/docs/wxluaref.html#wxItemContainer
Am I doing something wrong here?
Thanks,
Moses
|