In article <a84984760910221920m13dcf758n260fe05b5776b...@mail.gmail.com>, John Labenski <jlaben...@gmail.com> wrote: > On Thu, Oct 22, 2009 at 3:28 AM, Michael Gerbracht <smartma...@arcor.de> > 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 either nil or "wx.wxTR_LINES".
> These styles are simply numeric bit masks so that adding them together is > the same as using a boolean OR operator on the numbers. Instead of setting > it to nil set it to 0. Ah, ok, that solves the problem. Thank you very much! Michael ------------------------------------------------------------------------------ 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