[wxlua-users] bindings.wx.lua correction

2014-01-05 Thread Andre Arpin
please change line 512 to:
t[i][3] = string.format(0x%X, t[i][2]  0 and 2^32 + t[i][2] or t[i][2])

or

t[i][3] = string.format(((t[i][2]  0) and '-' or '') .. 0x%X,
 math.abs(t[i][2]))


The first one displays 0x for -1

The second -0x1 for -1

I prefer the first solution.

Thank you
Andre





--
Rapidly troubleshoot problems before they affect your business. Most IT 
organizations don't have a clear picture of how application performance 
affects their revenue. With AppDynamics, you get 100% visibility into your 
Java,.NET,  PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
http://pubads.g.doubleclick.net/gampad/clk?id=84349831iu=/4140/ostg.clktrk
___
wxlua-users mailing list
wxlua-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wxlua-users


Re: [wxlua-users] Build issues using mingw on Windows with trunk

2014-01-05 Thread Paul K
Hi John,

 d:/Lua/ZBS-build/build/wxlua/wxLua/modules/luamodule/luamodule.cpp:39:77:
 error: declaration of C function 'BOOL DllMain(HANDLE, DWORD, LPVOID)'
 conflicts with
  BOOL APIENTRY DllMain( HANDLE hModule, DWORD ul_reason_for_call, LPVOID 
 );

Just a quick update on this. I tried compiling using mingw-tdm using
the same version of gcc (4.8.1) and don't have this issue. Seems to be
mingw-related although I'm not absolutely sure.

Paul

--
Rapidly troubleshoot problems before they affect your business. Most IT 
organizations don't have a clear picture of how application performance 
affects their revenue. With AppDynamics, you get 100% visibility into your 
Java,.NET,  PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
http://pubads.g.doubleclick.net/gampad/clk?id=84349831iu=/4140/ostg.clktrk
___
wxlua-users mailing list
wxlua-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wxlua-users