From: John L. <jr...@us...> - 2007-06-19 13:58:19
|
Update of /cvsroot/wxlua/wxLua/samples In directory sc8-pr-cvs9.sourceforge.net:/tmp/cvs-serv31712/wxLua/samples Modified Files: settings.wx.lua Log Message: AMD64 fixes Index: settings.wx.lua =================================================================== RCS file: /cvsroot/wxlua/wxLua/samples/settings.wx.lua,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** settings.wx.lua 18 Jun 2007 23:52:22 -0000 1.1 --- settings.wx.lua 19 Jun 2007 13:58:16 -0000 1.2 *************** *** 20,30 **** function AddListItem(colTable) - local lc_item = listCtrl:GetItemCount() lc_item = listCtrl:InsertItem(lc_item, colTable[1]) ! for col = 2, #colTable do ! listCtrl:SetItem(lc_item, col - 1, tostring(colTable[col])) ! end return lc_item --- 20,27 ---- function AddListItem(colTable) local lc_item = listCtrl:GetItemCount() lc_item = listCtrl:InsertItem(lc_item, colTable[1]) ! listCtrl:SetItem(lc_item, 1, tostring(colTable[2])) return lc_item *************** *** 226,230 **** AddListItem({"wx.wxGetOsDescription()", wx.wxGetOsDescription()}) AddListItem({"wx.wxGetOSDirectory()", wx.wxGetOSDirectory()}) ! AddListItem({"wx.wxGetOsVersion()", wx.wxGetOsVersion()}) AddListItem({"wx.wxGetProcessId()", wx.wxGetProcessId()}) --- 223,227 ---- AddListItem({"wx.wxGetOsDescription()", wx.wxGetOsDescription()}) AddListItem({"wx.wxGetOSDirectory()", wx.wxGetOSDirectory()}) ! AddListItem({"wx.wxGetOsVersion()", table.concat({wx.wxGetOsVersion()}, ", ")}) AddListItem({"wx.wxGetProcessId()", wx.wxGetProcessId()}) |