On Wed, Oct 21, 2009 at 9:30 AM, Michael Gerbracht <smartma...@arcor.de> 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 ?
Unfortunately the styles do not take effect in MSW. You could Destroy() the control and recreate it if you also store the data as a Lua table. http://docs.wxwidgets.org/stable/wx_wxtreectrl.html#wxtreectrlsetwindowstyle Regards, John ------------------------------------------------------------------------------ Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference _______________________________________________ wxlua-users mailing list wxlua-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wxlua-users