2009/1/19 Mateusz Czaplinski <czapko...@gmail.com>: > Hello! > I'd like to draw a polygon. I found the wxDC:DrawPolygonsList() method, but > I can't get it to work. It requires a wxList as a first argument - which, as > far as I understand, should be a list of wxPoints. However, wxLua's > implementation of wxList seems to allow only wxObjects as it's elements, > while wxPoint is not a descendant of wxObject. Does it mean I can't draw > polygons at all? Or am I missing something?
You're right, there is no way to put wxPoints into a wxList. This is a oversight, I'll add it for the next version in the next few weeks. -John ------------------------------------------------------------------------------ This SF.net email is sponsored by: SourcForge Community SourceForge wants to tell your story. http://p.sf.net/sfu/sf-spreadtheword _______________________________________________ wxlua-users mailing list wxlua-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wxlua-users