On Sun, Sep 8, 2013 at 6:10 PM, Paul K <paulclin...@yahoo.com> wrote:
> 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).
>
>
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?
Regards,
John
------------------------------------------------------------------------------
How ServiceNow helps IT people transform IT departments:
1. Consolidate legacy IT systems to a single system of record for IT
2. Standardize and globalize service processes across IT
3. Implement zero-touch automation to replace manual, redundant tasks
http://pubads.g.doubleclick.net/gampad/clk?id=51271111&iu=/4140/ostg.clktrk
_______________________________________________
wxlua-users mailing list
wxlua-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wxlua-users