Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
Please login to access the resource
home:rhabacker:branches:windows:mingw:win64
mingw64-wxWidgets-3_0
16849.diff
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 16849.diff of Package mingw64-wxWidgets-3_0
References: http://trac.wxwidgets.org/ticket/16894 (pending) ListView_GetTopIndex can return negative values, GetSubItemRect ought not to choke on it. --- src/msw/listctrl.cpp | 4 ---- 1 file changed, 4 deletions(-) Index: wxWidgets-3.0.2/src/msw/listctrl.cpp =================================================================== --- wxWidgets-3.0.2.orig/src/msw/listctrl.cpp +++ wxWidgets-3.0.2/src/msw/listctrl.cpp @@ -1077,10 +1077,6 @@ bool wxListCtrl::GetSubItemRect(long ite (subItem >= 0 && subItem < GetColumnCount()), false, wxT("invalid sub item index") ); - // use wxCHECK_MSG against "item" too, for coherency with the generic implementation: - wxCHECK_MSG( item >= 0 && item < GetItemCount(), false, - wxT("invalid item in GetSubItemRect") ); - int codeWin; if ( code == wxLIST_RECT_BOUNDS ) codeWin = LVIR_BOUNDS;
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor