On Tue, Mar 30, 2010 at 10:47 AM, Andreas Bittel <andreas.bit...@web.de> wrote: > Hello, > > I want to set the colour with: > c = wx.wxColour(1,2,3) > dc:SetPen(c) > > but receive the error in the subject. How can I set the colour for a pen?
I can't see anything wrong with the code above, assuming that the dc is valid. Please always post the error message, the version of wxLua you're using, platform, did you compile it yourself... Can you at least run this code? p = wx.wxPoint(1,2) Regards, John ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ wxlua-users mailing list wxlua-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wxlua-users