From: Victor B. <so...@te...> - 2012-09-24 10:04:48
|
Thanyou for everything: I have managed to compile in mingw with 2.9.4 and 2.8.12 (all unicode not shared) with last svn modifications I can now call if sizer:GetChildren():GetCount() > 0 then althought I find that the assert of wxWidgets in wxSizerItem* wxSizer::GetItem( size_t index ) { wxCHECK_MSG( index < m_children.GetCount(), NULL, wxT("GetItem index is out of range") ); return m_children.Item( index )->GetData(); } is abusive because the wxNULL return in this case should be enough, with the assert testing wxNULL return is useless /////////// I am trying to use dc:DrawLines but I cant understand how wxList or wxPointList work: local plist=wx.wxPointList --plist:Append(wx.wxPoint(0,0)) plist[0]=0 plist[30]=30 --plist:Append(wx.wxPoint(30,30)) dc:DrawLines(plist) Append is not recognized as a method, plist is said to be not a wxPointList. I cant imagine how should be done. Best Regards Victor Bombi |