aboutsummaryrefslogtreecommitdiffstats
path: root/lib/wx/c_src/gen/wxe_funcs.cpp
diff options
context:
space:
mode:
authorSergei Golovan <[email protected]>2013-11-21 14:06:29 +0100
committerDan Gudmundsson <[email protected]>2013-11-21 14:06:29 +0100
commit36085d8a9d71d8a01b667852dc165a8a677bc69e (patch)
tree2429c926a6c33c26ab1968836e17c4084b0036dd /lib/wx/c_src/gen/wxe_funcs.cpp
parent76b4def27cf893cf25a7e72e7871180bd4bfd003 (diff)
downloadotp-36085d8a9d71d8a01b667852dc165a8a677bc69e.tar.gz
otp-36085d8a9d71d8a01b667852dc165a8a677bc69e.tar.bz2
otp-36085d8a9d71d8a01b667852dc165a8a677bc69e.zip
wx: wxListBox::Set crashes on wxWidgets 3.0 with NULL argument
Diffstat (limited to 'lib/wx/c_src/gen/wxe_funcs.cpp')
-rw-r--r--lib/wx/c_src/gen/wxe_funcs.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/wx/c_src/gen/wxe_funcs.cpp b/lib/wx/c_src/gen/wxe_funcs.cpp
index ae8b1fd8b1..b5fbac3fe0 100644
--- a/lib/wx/c_src/gen/wxe_funcs.cpp
+++ b/lib/wx/c_src/gen/wxe_funcs.cpp
@@ -15137,7 +15137,7 @@ case wxListBox_Set: { // wxListBox::Set
}
bp += (8-((0+ itemsASz) & 7 )) & 7;
if(!This) throw wxe_badarg(0);
- This->Set(items,(void **) NULL);
+ This->Set(items);
break;
}
case wxListBox_HitTest: { // wxListBox::HitTest