I dont really get why wxListBox with two parameters is not accepted
with wxLua. It was accepted on some previous version, and it
looks like that wxWidgets library would accept two parameter version.

Specifically
-----test.lua---
frame=wx.wxFrame(wx.NULL,-1,"Test",wx.wxPoint(-1,-1),wx.wxSize(800,600));
lb=wx.wxListBox(frame,-1)
------------------

causes:

test.lua:2: wxLua: Function call has invalid arguments.Function
called: 'wxListBox(wxFrame, number)'
01. wxListBox::wxListBox(wxWindow, number, wxPoint [, wxSize,
wxArrayString, number, wxValidator, string])
02. wxListBox::wxListBox()
stack traceback:
        [C]: in function 'wxListBox'
        test.lua:2: in main chunk

I have tried to follow where the problem starts, and currently I am
starting to suspect
genwxbind.lua .....


     Eero

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
wxlua-users mailing list
wxlua-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wxlua-users

Reply via email to