From b4bcb03448e0254b992188141de6e850728ea9a5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?V=C3=A1clav=20Slav=C3=ADk?= Date: Thu, 24 Oct 2002 19:42:42 +0000 Subject: [PATCH] reverted 'doesn't compile, let's remove it' fix for mingw32 compilation problem -- works now with a definition in missing.h git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17625 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/msw/listctrl.cpp | 7 ------- 1 file changed, 7 deletions(-) diff --git a/src/msw/listctrl.cpp b/src/msw/listctrl.cpp index 4cc1fab8d1..b6d25067aa 100644 --- a/src/msw/listctrl.cpp +++ b/src/msw/listctrl.cpp @@ -1762,12 +1762,6 @@ bool wxListCtrl::MSWOnNotify(int idCtrl, WXLPARAM lParam, WXLPARAM *result) case HDN_GETDISPINFOW: { -#ifdef __GNUWIN32__ - // Can someone test if this is OK on XP? Otherwise - // we will have to define LPNMHDDISPINFOW for MinGW/Cygwin - // and do as below. - return TRUE; -#else LPNMHDDISPINFOW info = (LPNMHDDISPINFOW) lParam; // This is a fix for a strange bug under XP. // Normally, info->iItem is a valid index, but @@ -1781,7 +1775,6 @@ bool wxListCtrl::MSWOnNotify(int idCtrl, WXLPARAM lParam, WXLPARAM *result) return TRUE; else return wxControl::MSWOnNotify(idCtrl, lParam, result); -#endif } default: return wxControl::MSWOnNotify(idCtrl, lParam, result);