From 36085d8a9d71d8a01b667852dc165a8a677bc69e Mon Sep 17 00:00:00 2001 From: Sergei Golovan Date: Thu, 21 Nov 2013 14:06:29 +0100 Subject: wx: wxListBox::Set crashes on wxWidgets 3.0 with NULL argument --- lib/wx/c_src/gen/wxe_funcs.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/wx/c_src/gen/wxe_funcs.cpp') 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 -- cgit v1.2.3