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:
Vadim Zeitlin 2004-04-21 15:01:07 +00:00
parent 320c341a10
commit 2f8b21fc87

View File

@ -1780,7 +1780,7 @@ bool wxListCtrl::MSWOnNotify(int idCtrl, WXLPARAM lParam, WXLPARAM *result)
// there's a GPF in Windows.
// By returning TRUE here, we avoid further processing
// of this strange message.
if ( info->iItem >= GetColumnCount() )
if ( (unsigned)info->iItem >= (unsigned)GetColumnCount() )
return TRUE;
}
// fall through