Hi,
I'm new to Lua and new to wxlua. I'm developing on Linux and did
$ ./configure
$ make
which worked.
But the following simple script with ShowFullScreen won't work.
test.lua:
#!/usr/bin/env lua
package.cpath = package.cpath..";wxLua/lib/?.so;"
require("wx")
frame = wx.wxFrame(wx.NULL, wx.wxID_ANY, "test", wx.wxDefaultPosition)
frame:ShowFullScreen(true)
wx.wxGetApp():MainLoop()
$ ./test.lua
lua: ./test.lua:6: wxLua: Unable to call an unknown method
'ShowFullScreen' on a 'wxFrame' type.
stack traceback:
[C]: ?
./test.lua:6: in main chunk
[C]: ?
Any ideas what I'm doing wrong?
Jens
------------------------------------------------------------------------------
Create and publish websites with WebMatrix
Use the most popular FREE web apps or write code yourself;
WebMatrix provides all the features you need to develop and
publish your website. http://p.sf.net/sfu/ms-webmatrix-sf
_______________________________________________
wxlua-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wxlua-users