compilation fix for the last check in (sorry)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18851 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2003-01-21 19:57:34 +00:00
parent f823cacbda
commit 9e300531e5

View File

@@ -1779,7 +1779,7 @@ bool wxListCtrl::MSWOnNotify(int idCtrl, WXLPARAM lParam, WXLPARAM *result)
case LVN_COLUMNCLICK:
case LVN_ITEMCHANGED:
case LVN_ITEMCHANGING:
if ( item != -1 )
if ( iItem != -1 )
{
if ( iItem >= GetItemCount() )
{