From: Paul K <pau...@ya...> - 2012-09-19 22:55:52
|
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/ |