aboutsummaryrefslogtreecommitdiffstats
path: root/lib/wx/c_src/gen
diff options
context:
space:
mode:
authorDan Gudmundsson <[email protected]>2015-06-30 10:39:09 +0200
committerDan Gudmundsson <[email protected]>2015-06-30 10:39:09 +0200
commit46285b9f6f9cbe102e22aaf6157e436797404f00 (patch)
tree055feafcec98f58baea1fad55b5ae50ba0832bdc /lib/wx/c_src/gen
parent9aa30b9d0f0286cc8f6b7095a11194f89f0d5adb (diff)
downloadotp-46285b9f6f9cbe102e22aaf6157e436797404f00.tar.gz
otp-46285b9f6f9cbe102e22aaf6157e436797404f00.tar.bz2
otp-46285b9f6f9cbe102e22aaf6157e436797404f00.zip
wx: Add mouse_capture_lost event
Needed to avoid asserts when capturing mouse on Windows.
Diffstat (limited to 'lib/wx/c_src/gen')
-rw-r--r--lib/wx/c_src/gen/wxe_events.cpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/lib/wx/c_src/gen/wxe_events.cpp b/lib/wx/c_src/gen/wxe_events.cpp
index 88a147cf90..f6a5868b48 100644
--- a/lib/wx/c_src/gen/wxe_events.cpp
+++ b/lib/wx/c_src/gen/wxe_events.cpp
@@ -302,6 +302,7 @@ void initEventTable()
{wxEVT_ACTIVATE, 231, "activate"},
{wxEVT_ACTIVATE_APP, 231, "activate_app"},
{wxEVT_HIBERNATE, 231, "hibernate"},
+ {wxEVT_MOUSE_CAPTURE_LOST, 234, "mouse_capture_lost"},
{-1, 0, }
};
for(int i=0; event_types[i].ev_type != -1; i++) {
@@ -870,6 +871,13 @@ case 231: {// wxActivateEvent
rt.addTupleCount(3);
break;
}
+case 234: {// wxMouseCaptureLostEvent
+ evClass = (char*)"wxMouseCaptureLostEvent";
+ rt.addAtom((char*)"wxMouseCaptureLost");
+ rt.addAtom(Etype->eName);
+ rt.addTupleCount(2);
+ break;
+}
}
rt.addTupleCount(5);