aboutsummaryrefslogtreecommitdiffstats
path: root/lib/wx/api_gen/wx_extra
diff options
context:
space:
mode:
authorDan Gudmundsson <[email protected]>2015-06-30 10:32:27 +0200
committerDan Gudmundsson <[email protected]>2015-06-30 10:32:27 +0200
commit9aa30b9d0f0286cc8f6b7095a11194f89f0d5adb (patch)
tree9a212a914e8a4c0d0588208e2aa29b0cb60a8483 /lib/wx/api_gen/wx_extra
parent74a95b3d511177a9b35c2b0272b9ca5511b6f750 (diff)
downloadotp-9aa30b9d0f0286cc8f6b7095a11194f89f0d5adb.tar.gz
otp-9aa30b9d0f0286cc8f6b7095a11194f89f0d5adb.tar.bz2
otp-9aa30b9d0f0286cc8f6b7095a11194f89f0d5adb.zip
wx: Fix code generator
I had changed the (generatade) code without updating the code generator in commit 38cb91a9. Fixed now, and also fixed a typo in the generated licence code.
Diffstat (limited to 'lib/wx/api_gen/wx_extra')
-rw-r--r--lib/wx/api_gen/wx_extra/wxEvtHandler.c_src2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/wx/api_gen/wx_extra/wxEvtHandler.c_src b/lib/wx/api_gen/wx_extra/wxEvtHandler.c_src
index 5d20019d8f..5e02066309 100644
--- a/lib/wx/api_gen/wx_extra/wxEvtHandler.c_src
+++ b/lib/wx/api_gen/wx_extra/wxEvtHandler.c_src
@@ -11,7 +11,7 @@ case 100: { // wxEvtHandler::Connect
int * class_nameLen = (int *) bp; bp += 4;
if(*haveUserData) {
- userData = new wxeErlTerm(Ecmd.bin[0]);
+ userData = new wxeErlTerm(&Ecmd.bin[0]);
}
int eventType = wxeEventTypeFromAtom(bp); bp += *eventTypeLen;