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
------------------------------------------------------------------------------
WatchGuard Dimension instantly turns raw network data into actionable
security intelligence. It gives you real-time visual feedback on key
security issues and trends. Skip the complicated setup - simply import
a virtual appliance and go from zero to informed in seconds.
http://pubads.g.doubleclick.net/gampad/clk?id=123612991&iu=/4140/ostg.clktrk
_______________________________________________
wxlua-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wxlua-users