John Labenski wrote:

On 2/12/06, Francesco Montorsi <[EMAIL PROTECTED]> 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



-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
Wxlua-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wxlua-users

Reply via email to