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.

------------------------------------------------------------------------------
Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more!
Discover the easy way to master current and previous Microsoft technologies
and advance your career. Get an incredible 1,500+ hours of step-by-step
tutorial videos with LearnDevNow. Subscribe today and save!
http://pubads.g.doubleclick.net/gampad/clk?id=58041391&iu=/4140/ostg.clktrk
_______________________________________________
wxlua-users mailing list
wxlua-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wxlua-users

Reply via email to