From: Paul K <pau...@ya...> - 2013-09-08 22:10:20
|
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 ControlDown() and CmdDown()) just fine, but none of the modifier methods (GetModifiers(), HasModifiers(), HasAnyModifiers(), and so on) work (http://docs.wxwidgets.org/trunk/classwx_keyboard_state.html). I checked wxbind and indeed GetModifiers only shows up for wxKeyEvent and nothing else. Can you please add it to wxMouseEvent as well? Thank you. Paul. |