From: k. h. <kla...@nl...> - 2006-02-13 13:21:59
|
John Labenski wrote: >On 2/12/06, Francesco Montorsi <f18...@ya...> wrote: > > >>Hi, >> as you can see, I start to think to the first release of wxLua ;) >> >> > >It probably should happen soon enough. I need to remove and cleanup a >little more duplicate code, but I think that everything works well >enough. > > It would be great, if you could manage the problem with namespaces in wxluacan. Or if not so possible, before the release change the namespace to wx instead of wxluacan. I am confused what is in CVS by now. But this does not work, when run from the run script menu, it still calls function that are wrong. function AddSome() for list = 1, 10 do canvas = wxluacan.GetCan() canobjrect = wxluacan.wxlCanObjRect( 30+list*2, 40+list*3, 100, 20) canvas:AddObject( canobjrect ) end end wx.wxMessageBox( "Now we will add two object to the canvas", "wxLuaCan Message", wx.wxYES_NO + wx.wxCENTRE) canvas = wxluacan.GetCan() canobjrect = wxluacan.wxlCanObjRect( 30, 40, 100, 20) canvas:AddObject( canobjrect ) canobjrect:SetPending( true ) AddSome() regards, Klaas -- Unclassified |