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
This commit is contained in:
Vadim Zeitlin
2002-11-04 23:26:54 +00:00
parent 611c1e0e6f
commit 8edcec6652

View File

@@ -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 )