X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/4c87eb44c25c2c4d466e129dbd5ed435d583b1bc..56cc1400c7f760c95a057a24b9475b0437e107b9:/include/wx/msw/missing.h diff --git a/include/wx/msw/missing.h b/include/wx/msw/missing.h index 4a094e59de..3ce2627674 100644 --- a/include/wx/msw/missing.h +++ b/include/wx/msw/missing.h @@ -159,8 +159,9 @@ typedef struct tagNMLVDISPINFOW { #endif #endif -#if ((defined(__WATCOMC__) && __WATCOMC__ >= 1200) || defined(__GNUWIN32__)) && !defined(HDN_GETDISPINFOW) +#if ((defined(__WATCOMC__) && __WATCOMC__ >= 1200) || defined(__GNUWIN32__) || defined(__DIGITALMARS__) || 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 // ----------------------------------------------------------------------------