Update of /cvsroot/wxlua/wxLua/apps/luamodule/src
In directory sc8-pr-cvs9.sourceforge.net:/tmp/cvs-serv10690/src
Modified Files:
luamodule.wx.lua
Log Message:
use wxGetApp not wxGetBaseApp as it's deprecated
Index: luamodule.wx.lua
===================================================================
RCS file: /cvsroot/wxlua/wxLua/apps/luamodule/src/luamodule.wx.lua,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** luamodule.wx.lua 13 May 2006 21:05:35 -0000 1.1
--- luamodule.wx.lua 13 May 2006 21:48:22 -0000 1.2
***************
*** 29,34 ****
frame:Show(true)
! -- ALWAYS call wx.wxGetBaseApp():MainLoop() last to keep the program active
-- otherwise the lua program will exit immediately
! wx.wxGetBaseApp():MainLoop()
--- 29,34 ----
frame:Show(true)
! -- ALWAYS call wx.wxGetApp():MainLoop() last to keep the program active
-- otherwise the lua program will exit immediately
! wx.wxGetApp():MainLoop()
|