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 // ----------------------------------------------------------------------------