-
-
Notifications
You must be signed in to change notification settings - Fork 7
Open
Description
Hi,
using HitTest method creates a MAV. This due to using long& instead of long int*.
Fix:
Edit: glue.h
Change
int bmx_wxlistctrl_hittest(wxListCtrl * list, int x, int y, int * flags, int * subitem);
to..
int bmx_wxlistctrl_hittest(wxListCtrl * list, int x, int y, int * flags, long int * subitem);
Edit: glue.cc
Change:
int bmx_wxlistctrl_hittest(wxListCtrl * list, int x, int y, int * flags, long int * subitem) {
long s;
int res = list->HitTest(wxPoint(x, y), *flags, &s);
*subitem = s;
}
to..
int bmx_wxlistctrl_hittest(wxListCtrl * list, int x, int y, int * flags, long int * subitem) {
return list->HitTest(wxPoint(x, y), *flags, subitem);
}
-Henri
Metadata
Metadata
Assignees
Labels
No labels