Menu

#20 controls.wx.lua from example won't run

closed-fixed
5
2011-12-02
2011-06-13
Anonymous
No

Here is the console printf. I am using the wxLua-2.8.10-MSW-bin on Win7-64bit

Running program: "..\bin\wxlua.exe" -c C:\Tools\Lua\wxLua-2.8.10-MSW-bin\samples\controls.wx.lua
Process id is: 7640
Compilation successful!

Waiting for client connection, process 7624.
Client connected ok.
At Breakpoint line: 12 file: C:\Tools\Lua\wxLua-2.8.10-MSW-bin\samples\controls.wx.lua
wxLua ERROR: Lua: Error while running chunk
[string "C:\Tools\Lua\wxLua-2.8.10-MSW-bin\samples\c..."]:435: wxLua: Function call has invalid argument 2 on method 03.

Function called: 'Add(wxFlexGridSizer, wxBitmapComboBox, number, number, number)'
01. wxSizer::Add(wxSizer(self), number [, number, number, number, number, wxObject])
02. wxSizer::Add(wxSizer(self) [, wxSizer, number, number, number, wxObject])
03. wxSizer::Add(wxSizer(self) [, wxWindow, number, number, number, wxObject])
stack traceback:
[C]: in function 'Add'
[string "C:\Tools\Lua\wxLua-2.8.10-MSW-bin\samples\c..."]:435: in function 'AddControl'
[string "C:\Tools\Lua\wxLua-2.8.10-MSW-bin\samples\c..."]:514: in function 'CreateControlsWindow'
[string "C:\Tools\Lua\wxLua-2.8.10-MSW-bin\samples\c..."]:1074: in function 'main'
[string "C:\Tools\Lua\wxLua-2.8.10-MSW-bin\samples\c..."]:1113: in main chunk

wxLua ERROR: Lua: Error while running chunk

Discussion

  • John Labenski

    John Labenski - 2011-12-02
    • labels: --> Interface (example)
    • assigned_to: nobody --> jrl1
    • status: open --> closed-fixed
     
  • John Labenski

    John Labenski - 2011-12-02

    Fix in SVN.

     

Log in to post a comment.

MongoDB Logo MongoDB