From: Mattia Barbon Date: Tue, 4 Feb 2003 21:37:58 +0000 (+0000) Subject: Do not redeclare a struct (w32api 2.2 will have it). X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/49bbd59b018dc7d7c322b903009470212cc83dbf?ds=inline Do not redeclare a struct (w32api 2.2 will have it). git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19116 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/include/wx/msw/missing.h b/include/wx/msw/missing.h index 4a094e59de..3161485f49 100644 --- a/include/wx/msw/missing.h +++ b/include/wx/msw/missing.h @@ -161,6 +161,7 @@ typedef struct tagNMLVDISPINFOW { #if ((defined(__WATCOMC__) && __WATCOMC__ >= 1200) || defined(__GNUWIN32__)) && !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 // ----------------------------------------------------------------------------