Hi John,

I just noticed that for some reason wx.wxMOD_NONE is not defined on
Mac (wxlua 2.8.12.1) while it is defined correctly on Windows. This
breaks logic like event:GetModifiers() == wx.wxMOD_NONE. In fact, it
seems like none of the wx.wxMOD_* constants is defined on Mac.
GetModifiers() returns correct values for those modifiers (I checked
Alt/Cmd/Ctrl and they match the docs).

I haven't had a chance to check the code yet, but wanted to let you
and others know (as this led to some subtle bugs for me).

Paul.

ZeroBrane Studio - slick Lua IDE and debugger for Windows, OSX, and
Linux - http://studio.zerobrane.com/

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
wxlua-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wxlua-users

Reply via email to