aboutsummaryrefslogtreecommitdiffstats
path: root/lib/wx/c_src/gen/wxe_funcs.cpp
diff options
context:
space:
mode:
authorDan Gudmundsson <[email protected]>2016-03-21 12:15:34 +0100
committerDan Gudmundsson <[email protected]>2016-04-04 13:26:31 +0200
commit25ea1f62b6ce9cff26d9353881b799f9dd76fe53 (patch)
tree7fd48b90e916b37155a565267ed967855ff0664b /lib/wx/c_src/gen/wxe_funcs.cpp
parentad5c3ec15cf751e0edd9330b4ffb430959432ed5 (diff)
downloadotp-25ea1f62b6ce9cff26d9353881b799f9dd76fe53.tar.gz
otp-25ea1f62b6ce9cff26d9353881b799f9dd76fe53.tar.bz2
otp-25ea1f62b6ce9cff26d9353881b799f9dd76fe53.zip
wx: Fix wxListCtrl:hitTest arguments and delivered results
May cause incompatibility for applications but the flags argument is out only in C++.
Diffstat (limited to 'lib/wx/c_src/gen/wxe_funcs.cpp')
-rw-r--r--lib/wx/c_src/gen/wxe_funcs.cpp8
1 files changed, 6 insertions, 2 deletions
diff --git a/lib/wx/c_src/gen/wxe_funcs.cpp b/lib/wx/c_src/gen/wxe_funcs.cpp
index 03b0baf875..059cee59f4 100644
--- a/lib/wx/c_src/gen/wxe_funcs.cpp
+++ b/lib/wx/c_src/gen/wxe_funcs.cpp
@@ -15631,14 +15631,18 @@ case wxListCtrl_GetViewRect: { // wxListCtrl::GetViewRect
break;
}
case wxListCtrl_HitTest: { // wxListCtrl::HitTest
+ int flags;
+ long pSubItem;
wxListCtrl *This = (wxListCtrl *) getPtr(bp,memenv); bp += 4;
int * pointX = (int *) bp; bp += 4;
int * pointY = (int *) bp; bp += 4;
wxPoint point = wxPoint(*pointX,*pointY);
- int * flags = (int *) bp; bp += 4;
if(!This) throw wxe_badarg(0);
- long Result = This->HitTest(point,*flags);
+ long Result = This->HitTest(point,flags,&pSubItem);
rt.addInt(Result);
+ rt.addInt(flags);
+ rt.addInt(pSubItem);
+ rt.addTupleCount(3);
break;
}
case wxListCtrl_InsertColumn_2: { // wxListCtrl::InsertColumn