Re: [wxlua-users] Change style of TreeCtrl

2009-10-23 Thread Michael Gerbracht
In article , John Labenski wrote: > On Thu, Oct 22, 2009 at 3:28 AM, Michael Gerbracht > wrote: > > The styles are separated by a "+" sign, which is not standard lua so I do > > not know how to make a style optional. I tried to use a variable instead > > of "wx.wxTR_NO_LINES" and set it to eit

Re: [wxlua-users] Change style of TreeCtrl

2009-10-22 Thread John Labenski
On Thu, Oct 22, 2009 at 3:28 AM, Michael Gerbracht wrote: > In article , >   John Labenski wrote: >> On Wed, Oct 21, 2009 at 9:30 AM, Michael Gerbracht >> wrote: > > I store the data in lua anyway so this should not be a problem. Or changes > will just apply after a restart. Still I am not sure

Re: [wxlua-users] Change style of TreeCtrl

2009-10-22 Thread Michael Gerbracht
In article , John Labenski wrote: > On Wed, Oct 21, 2009 at 9:30 AM, Michael Gerbracht > wrote: > > Is it possible to change the style of a TreeCtrl once it has been > > created. I want to make it user configurable whether lines are shown or > > not - so is there a was to set/unset wx.wxTR_NO

Re: [wxlua-users] Change style of TreeCtrl

2009-10-21 Thread John Labenski
On Wed, Oct 21, 2009 at 9:30 AM, Michael Gerbracht wrote: > Sorry, but I have another question: > > Is it possible to change the style of a TreeCtrl once it has been created. I > want to make it user configurable whether lines are shown or not - so is > there a was to set/unset wx.wxTR_NO_LINES ?

[wxlua-users] Change style of TreeCtrl

2009-10-21 Thread Michael Gerbracht
Sorry, but I have another question: Is it possible to change the style of a TreeCtrl once it has been created. I want to make it user configurable whether lines are shown or not - so is there a was to set/unset wx.wxTR_NO_LINES ? thanks, Michael -