From: Vadim Zeitlin Date: Tue, 21 Jan 2003 19:57:34 +0000 (+0000) Subject: compilation fix for the last check in (sorry) X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/9e300531e5ef0457c4232bfa23e0a13dba0f9230 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 --- diff --git a/src/msw/listctrl.cpp b/src/msw/listctrl.cpp index 26633b3cc9..943a87ae8d 100644 --- a/src/msw/listctrl.cpp +++ b/src/msw/listctrl.cpp @@ -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() ) {