Re: [wxlua-users] wxComboBox wxClientObject

2009-08-03 Thread Daniel Aquino
Thanks it worked! The docs can be hard to read some times for the untrained... On Sun, Aug 2, 2009 at 10:40 PM, John Labenski wrote: > On Sun, Aug 2, 2009 at 9:33 PM, Daniel Aquino > wrote: >> I set a string value for an item using >> >> combo_box:Append('localhost', wx.wxStringClientData('127.

Re: [wxlua-users] wxComboBox wxClientObject

2009-08-02 Thread John Labenski
On Sun, Aug 2, 2009 at 9:33 PM, Daniel Aquino wrote: > I set a string value for an item using > > combo_box:Append('localhost', wx.wxStringClientData('127.0.0.1')) > combo_box:Select(0) > > Then I try to access the value again > > local selection = combo_box:GetSelection() > local object = combo_bo

[wxlua-users] wxComboBox wxClientObject

2009-08-02 Thread Daniel Aquino
I set a string value for an item using combo_box:Append('localhost', wx.wxStringClientData('127.0.0.1')) combo_box:Select(0) Then I try to access the value again local selection = combo_box:GetSelection() local object = combo_box:GetClientObject( selection ) local address = object:GetData() But