really fixed crash with strange HDN_GETDISPINFOWs under XP
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26900 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -1780,7 +1780,7 @@ bool wxListCtrl::MSWOnNotify(int idCtrl, WXLPARAM lParam, WXLPARAM *result)
|
|||||||
// there's a GPF in Windows.
|
// there's a GPF in Windows.
|
||||||
// By returning TRUE here, we avoid further processing
|
// By returning TRUE here, we avoid further processing
|
||||||
// of this strange message.
|
// of this strange message.
|
||||||
if ( info->iItem >= GetColumnCount() )
|
if ( (unsigned)info->iItem >= (unsigned)GetColumnCount() )
|
||||||
return TRUE;
|
return TRUE;
|
||||||
}
|
}
|
||||||
// fall through
|
// fall through
|
||||||
|
Reference in New Issue
Block a user