From: John L. <jla...@gm...> - 2010-12-06 04:08:59
|
On Sat, Dec 4, 2010 at 7:57 AM, Andre Arpin <ar...@ki...> wrote: > Andre Arpin <arpin@...> writes: > >> >> E:\Programs\wxWidgets\wxLua\samples\settings.wx.lua >> >> AddListItem({"wx.wxGetFreeMemory():ToLong()", wx.wxGetFreeMemory():ToLong()}) >> >> wx.wxGetFreeMemory() = 4294967295 > > changing wxGetFreeMemory to return a wxULongLong should solve this problem The problem is that in order to display it I called ToLong() and now call ToString(). wxGetFreeMemory() returns what the wxWidgets function returns, a wxLongLong. Regards, John |