I'm using W98 so I can't check all of that, but the stuff below 'require...' is 
ok. ShowFullScreen() works on W98, so it looks like your install isn't finding 
some file that defines it. Try it with just Show(). I haven't got source files 
here so I don't know if the two methods are defined in the same file, but the 
test is simple and might reveal something.


Jens Mueller <jens.k.muel...@gmx.de> wrote:
(03/04/2011 01:06)

>
>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
>wxlua-users@lists.sourceforge.net
>https://lists.sourceforge.net/lists/listinfo/wxlua-users


------------------------------------------------------------------------------
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
wxlua-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wxlua-users

Reply via email to