]> git.saurik.com Git - wxWidgets.git/commitdiff
compilation fix for the last check in (sorry)
authorVadim Zeitlin <vadim@wxwidgets.org>
Tue, 21 Jan 2003 19:57:34 +0000 (19:57 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Tue, 21 Jan 2003 19:57:34 +0000 (19:57 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18851 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/msw/listctrl.cpp

index 26633b3cc91e988e0c8e079c31ec6a7373c9362e..943a87ae8da8bd59c2a6cbde8d6b2aa0e798236a 100644 (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() )
                     {