From e534bea08ccbc8e276ef70037fea41648bdce8f8 Mon Sep 17 00:00:00 2001 From: Mattia Barbon Date: Tue, 4 Feb 2003 21:37:58 +0000 Subject: [PATCH] Do not redeclare a struct (w32api 2.2 will have it). git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19116 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- include/wx/msw/missing.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/include/wx/msw/missing.h b/include/wx/msw/missing.h index 1ceefd77b3..32413eebaf 100644 --- a/include/wx/msw/missing.h +++ b/include/wx/msw/missing.h @@ -159,8 +159,9 @@ typedef struct tagNMLVDISPINFOW { #endif #endif -#if (defined(__GNUWIN32__) || defined __BORLANDC__) && !defined(HDN_GETDISPINFOW) +#if (defined(__GNUWIN32__) || defined(__BORLANDC__)) && !defined(HDN_GETDISPINFOW) #define HDN_GETDISPINFOW (HDN_FIRST-29) +#if !wxCHECK_W32API_VERSION(2, 2) typedef struct { NMHDR hdr; int iItem; @@ -171,6 +172,7 @@ typedef struct { LPARAM lParam; } NMHDDISPINFOW, *LPNMHDDISPINFOW; #endif +#endif // ----------------------------------------------------------------------------