fix dmc
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@34461 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -1743,6 +1743,8 @@ bool wxListCtrl::MSWOnNotify(int idCtrl, WXLPARAM lParam, WXLPARAM *result)
|
|||||||
|
|
||||||
case HDN_GETDISPINFOW:
|
case HDN_GETDISPINFOW:
|
||||||
{
|
{
|
||||||
|
/* CVS HEAD decided to fix this bug by always returning tue, so do the same
|
||||||
|
CE 31 may 05
|
||||||
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
|
||||||
@@ -1752,7 +1754,7 @@ bool wxListCtrl::MSWOnNotify(int idCtrl, WXLPARAM lParam, WXLPARAM *result)
|
|||||||
// 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;
|
||||||
}
|
}
|
||||||
// fall through
|
// fall through
|
||||||
|
Reference in New Issue
Block a user