From: John L. <jr...@us...> - 2006-12-07 06:32:47
|
Update of /cvsroot/wxlua/wxLua/samples In directory sc8-pr-cvs9.sourceforge.net:/tmp/cvs-serv30967/wxLua/samples Modified Files: editor.wx.lua fldemo.wx.lua Log Message: update bindings, better docs, add wxAboutBox for 2.8 fix /* */ in genwxbind.lua Remove wxPlatformXXX just use __WXMSW__ or whatever Index: editor.wx.lua =================================================================== RCS file: /cvsroot/wxlua/wxLua/samples/editor.wx.lua,v retrieving revision 1.33 retrieving revision 1.34 diff -C2 -d -r1.33 -r1.34 *** editor.wx.lua 5 Dec 2006 23:38:28 -0000 1.33 --- editor.wx.lua 7 Dec 2006 06:32:44 -0000 1.34 *************** *** 1637,1641 **** end end ! if wx.wxPlatformWindows then eventFileName = wx.wxUnix2DosFilename(eventFileName) end --- 1637,1641 ---- end end ! if wx.__WXMSW__ then eventFileName = wx.wxUnix2DosFilename(eventFileName) end Index: fldemo.wx.lua =================================================================== RCS file: /cvsroot/wxlua/wxLua/samples/fldemo.wx.lua,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -d -r1.6 -r1.7 *** fldemo.wx.lua 26 Sep 2006 22:22:00 -0000 1.6 --- fldemo.wx.lua 7 Dec 2006 06:32:44 -0000 1.7 *************** *** 90,94 **** layout = wx.wxFrameLayout(frame, client) ! if wx.wxPlatformGTK then local props = layout:GetPaneProperties() props:SetRealTimeUpdates(false) --- 90,94 ---- layout = wx.wxFrameLayout(frame, client) ! if wx.__WXGTK__ then local props = layout:GetPaneProperties() props:SetRealTimeUpdates(false) |