From 1b7227003e2b441241cb1b2f2f1c5e3146efaa79 Mon Sep 17 00:00:00 2001 From: Chris Elliott Date: Tue, 31 May 2005 16:01:43 +0000 Subject: [PATCH] fix dmc git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@34461 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/msw/listctrl.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/msw/listctrl.cpp b/src/msw/listctrl.cpp index 8b93e359bf..0a61e93b00 100644 --- a/src/msw/listctrl.cpp +++ b/src/msw/listctrl.cpp @@ -1743,6 +1743,8 @@ bool wxListCtrl::MSWOnNotify(int idCtrl, WXLPARAM lParam, WXLPARAM *result) 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; // This is a fix for a strange bug under XP. // 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. // By returning TRUE here, we avoid further processing // of this strange message. - if ( info->iItem >= GetColumnCount() ) + if ( info->iItem >= GetColumnCount() ) */ return TRUE; } // fall through