On Wed, Dec 1, 2010 at 9:31 AM, Andre Arpin <ar...@kingston.net> wrote:
> E:\Programs\wxWidgets\wxLua\samples\settings.wx.lua
>
> AddListItem({"wx.wxGetFreeMemory():ToLong()", wx.wxGetFreeMemory():ToLong()})
>
> wx.wxGetFreeMemory() = 4294967295
>
> which is 2^32 -1 this cannot be converted to long. Whould work with unsigned
> long.
>
> I am not sure what is the best solution

I have changed it to use wxLongLong::ToString() to print it correctly.

Thanks,
    John

------------------------------------------------------------------------------
Increase Visibility of Your 3D Game App & Earn a Chance To Win $500!
Tap into the largest installed PC base & get more eyes on your game by
optimizing for Intel(R) Graphics Technology. Get started today with the
Intel(R) Software Partner Program. Five $500 cash prizes are up for grabs.
http://p.sf.net/sfu/intelisp-dev2dev
_______________________________________________
wxlua-users mailing list
wxlua-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wxlua-users

Reply via email to