On Thu, 21 Oct 2010 14:59:20 -0400, John Labenski <jlaben...@gmail.com>
wrote:

> > The only way I found to avoid error:
> > staticTextLNBROWS:SetForegroundColour( wx.wxColour("wxSYS_COLOUR_GRAYTEXT") 
> > )
> >
> > Is it a good solution or not?
> 
> Yes, but this would be a little faster since it doesn't use a string.
> Note the wx.wxXXX, wxPython got rid of the second "wx" while wxLua
> leaves it in for clarity since it doesn't have to be installed to the
> "wx" Lua table.

Yeah, into this module this is painful because I begin changing it by hand
and didn't notice I had to do that for all; next time I'll start by
replacing 'wx.' with 'wx.wx'.
 
> staticTextLNBROWS:SetForegroundColour( wx.SystemSettings.GetColour(
> wx.wxSYS_COLOUR_GRAYTEXT ) )

Raaaahhhhhh: the only one I didn't test (I was writing
wx.SystemSettings:GetColour)
 
> Regards,
>     John

Thanks John

-- 
Life is a whim of several billion cells to be you for a while.

------------------------------------------------------------------------------
Nokia and AT&T present the 2010 Calling All Innovators-North America contest
Create new apps & games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store 
http://p.sf.net/sfu/nokia-dev2dev
_______________________________________________
wxlua-users mailing list
wxlua-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wxlua-users

Reply via email to