Removed tabs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17593 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -1720,61 +1720,61 @@ bool wxListCtrl::MSWOnNotify(int idCtrl, WXLPARAM lParam, WXLPARAM *result)
|
|||||||
#if 0
|
#if 0
|
||||||
case HDN_ITEMCHANGINGW:
|
case HDN_ITEMCHANGINGW:
|
||||||
{
|
{
|
||||||
return wxControl::MSWOnNotify(idCtrl, lParam, result);
|
return wxControl::MSWOnNotify(idCtrl, lParam, result);
|
||||||
}
|
}
|
||||||
case HDN_ITEMCHANGEDA:
|
case HDN_ITEMCHANGEDA:
|
||||||
{
|
{
|
||||||
return wxControl::MSWOnNotify(idCtrl, lParam, result);
|
return wxControl::MSWOnNotify(idCtrl, lParam, result);
|
||||||
}
|
}
|
||||||
case HDN_ITEMCHANGEDW:
|
case HDN_ITEMCHANGEDW:
|
||||||
{
|
{
|
||||||
return wxControl::MSWOnNotify(idCtrl, lParam, result);
|
return wxControl::MSWOnNotify(idCtrl, lParam, result);
|
||||||
}
|
}
|
||||||
case HDN_ITEMCLICKA:
|
case HDN_ITEMCLICKA:
|
||||||
{
|
{
|
||||||
return wxControl::MSWOnNotify(idCtrl, lParam, result);
|
return wxControl::MSWOnNotify(idCtrl, lParam, result);
|
||||||
}
|
}
|
||||||
case HDN_ITEMCLICKW:
|
case HDN_ITEMCLICKW:
|
||||||
{
|
{
|
||||||
return wxControl::MSWOnNotify(idCtrl, lParam, result);
|
return wxControl::MSWOnNotify(idCtrl, lParam, result);
|
||||||
}
|
}
|
||||||
case HDN_ITEMDBLCLICKA:
|
case HDN_ITEMDBLCLICKA:
|
||||||
{
|
{
|
||||||
return wxControl::MSWOnNotify(idCtrl, lParam, result);
|
return wxControl::MSWOnNotify(idCtrl, lParam, result);
|
||||||
}
|
}
|
||||||
case HDN_ITEMDBLCLICKW:
|
case HDN_ITEMDBLCLICKW:
|
||||||
{
|
{
|
||||||
return wxControl::MSWOnNotify(idCtrl, lParam, result);
|
return wxControl::MSWOnNotify(idCtrl, lParam, result);
|
||||||
}
|
}
|
||||||
case HDN_DIVIDERDBLCLICKA:
|
case HDN_DIVIDERDBLCLICKA:
|
||||||
{
|
{
|
||||||
return wxControl::MSWOnNotify(idCtrl, lParam, result);
|
return wxControl::MSWOnNotify(idCtrl, lParam, result);
|
||||||
}
|
}
|
||||||
case HDN_DIVIDERDBLCLICKW:
|
case HDN_DIVIDERDBLCLICKW:
|
||||||
{
|
{
|
||||||
return wxControl::MSWOnNotify(idCtrl, lParam, result);
|
return wxControl::MSWOnNotify(idCtrl, lParam, result);
|
||||||
}
|
}
|
||||||
case HDN_GETDISPINFOA:
|
case HDN_GETDISPINFOA:
|
||||||
{
|
{
|
||||||
return wxControl::MSWOnNotify(idCtrl, lParam, result);
|
return wxControl::MSWOnNotify(idCtrl, lParam, result);
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
case HDN_GETDISPINFOW:
|
case HDN_GETDISPINFOW:
|
||||||
{
|
{
|
||||||
LPNMHDDISPINFOW info = (LPNMHDDISPINFOW) lParam;
|
LPNMHDDISPINFOW info = (LPNMHDDISPINFOW) lParam;
|
||||||
// This is a fix for a strange bug under XP.
|
// This is a fix for a strange bug under XP.
|
||||||
// Normally, info->iItem is a valid index, but
|
// Normally, info->iItem is a valid index, but
|
||||||
// sometimes this is a silly (large) number
|
// sometimes this is a silly (large) number
|
||||||
// and when we return FALSE via wxControl::MSWOnNotify
|
// and when we return FALSE via wxControl::MSWOnNotify
|
||||||
// to indicate that it hasn't yet been processed,
|
// to indicate that it hasn't yet been processed,
|
||||||
// there's a GPF in Windows.
|
// there's a GPF in Windows.
|
||||||
// By returning TRUE here, we avoid further processing
|
// By returning TRUE here, we avoid further processing
|
||||||
// of this strange message.
|
// of this strange message.
|
||||||
if (info->iItem > GetColumnCount())
|
if (info->iItem > GetColumnCount())
|
||||||
return TRUE;
|
return TRUE;
|
||||||
else
|
else
|
||||||
return wxControl::MSWOnNotify(idCtrl, lParam, result);
|
return wxControl::MSWOnNotify(idCtrl, lParam, result);
|
||||||
}
|
}
|
||||||
default:
|
default:
|
||||||
return wxControl::MSWOnNotify(idCtrl, lParam, result);
|
return wxControl::MSWOnNotify(idCtrl, lParam, result);
|
||||||
|
Reference in New Issue
Block a user