diff options
author | Dan Gudmundsson <dgud@erlang.org> | 2019-11-21 09:49:09 +0100 |
---|---|---|
committer | Dan Gudmundsson <dgud@erlang.org> | 2019-11-21 09:49:09 +0100 |
commit | 67558fa90dce4db96eef88979e1e29b1e5778b34 (patch) | |
tree | f07d5655a3b3b28e6c2b5f5169d8975872785112 /lib/wx/api_gen/wxapi.conf | |
parent | 107ef91dde5167ddaffbcc9f2ebe8b825598dcc5 (diff) | |
download | erlang-67558fa90dce4db96eef88979e1e29b1e5778b34.tar.gz |
Add wxMouseEvent:getWheelAxis function
Allows users see if the events was from the horizontal mouse wheel.
Have not changed the wxMouse record, would be incompatible, but this
allows the user to check for it in an event callback.
Diffstat (limited to 'lib/wx/api_gen/wxapi.conf')
-rw-r--r-- | lib/wx/api_gen/wxapi.conf | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/wx/api_gen/wxapi.conf b/lib/wx/api_gen/wxapi.conf index b979ad00b2..e107749944 100644 --- a/lib/wx/api_gen/wxapi.conf +++ b/lib/wx/api_gen/wxapi.conf @@ -140,6 +140,7 @@ {enum, wxBackgroundStyle, "wxBG_STYLE_"}. {enum, wxWindowVariant, "wxWINDOW_VARIANT_"}. {enum, wxBitmapType, "wxBITMAP_TYPE_"}. +{enum, wxMouseWheelAxis, "wxMOUSE_WHEEL_"}. {class, wxeEvtHandler, object, [taylormade, {alias, [{wxeEvtHandler, wxEvtHandler}]}], [{'Connect', [{"eventType",{base,eventType}},{"userData",nowhere}]}, @@ -1491,7 +1492,8 @@ 'MiddleDClick', 'MiddleDown', 'MiddleIsDown', 'MiddleUp', 'Moving', 'RightDClick', 'RightDown', 'RightIsDown', 'RightUp', - 'ShiftDown' + 'ShiftDown', + {'GetWheelAxis',[{test_if, "wxCHECK_VERSION(3,0,0)"}]} ]}. {class, wxSetCursorEvent, wxEvent, |