Re: [wxlua-users] Can't call some wxKeyboardState methods on wxMouseEvent, but should

2013-09-11 Thread Paul K
Hi John, That function (and class hierarchy) only exists in wxWidgets 2.9 onwards. It's just an alternative to the current ControlDown(), AltDown(), ShiftDown() functions. Will those work for you in the near term? Yes, but instead of checking event:GetModifiers() == wx.wxMOD_CONTROL I need

[wxlua-users] Can't call some wxKeyboardState methods on wxMouseEvent, but should

2013-09-08 Thread Paul K
Hi John, I'm trying to call wx.wxMouseEvent():GetModifiers(), but get wxLua: Unable to call an unknown method 'GetModifiers' on a 'wxMouseEvent' type. wxMouseEvent is inherited from wxKeyboardState (among other things), so it should definitely work. In fact, I can call some methods (like