From 8edcec66523a6e285551668c5bef0ed13d7ff29c Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Mon, 4 Nov 2002 23:26:54 +0000 Subject: [PATCH] removed LVN_HOTTRACK case completely -- why comment it out if we don't ever need it at all? git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17719 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/msw/listctrl.cpp | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/src/msw/listctrl.cpp b/src/msw/listctrl.cpp index d8fbbe22d5..d09769234d 100644 --- a/src/msw/listctrl.cpp +++ b/src/msw/listctrl.cpp @@ -1756,16 +1756,11 @@ bool wxListCtrl::MSWOnNotify(int idCtrl, WXLPARAM lParam, WXLPARAM *result) // set the data event field for all messages for which the system gives // us a valid NM_LISTVIEW::lParam - switch( nmLV->hdr.code ) + switch ( nmLV->hdr.code ) { case LVN_BEGINDRAG: case LVN_BEGINRDRAG: case LVN_COLUMNCLICK: -#ifdef LVN_HOTTRACK - // Under XP, this does _not_ give us a valid lParam, - // so we get a crash. -// case LVN_HOTTRACK: -#endif case LVN_ITEMCHANGED: case LVN_ITEMCHANGING: if ( iItem != -1 )