X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/2b5f62a0b2db198609b45dec622a018dae37008e..d9e2e4c2425b8338ff6e6cd2fb62438c9fb2a12b:/include/wx/msw/missing.h diff --git a/include/wx/msw/missing.h b/include/wx/msw/missing.h index 631006ba34..62c8c2a762 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(HDN_GETDISPINFOW) +#if ((defined(__WATCOMC__) && __WATCOMC__ >= 1200) || 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 // ---------------------------------------------------------------------------- @@ -243,19 +245,5 @@ struct HH_AKLINK #define QS_ALLPOSTMESSAGE 0x0100 #endif -#ifdef __WXWINE__ -#define LV_ITEMA LVITEMA -#define LV_ITEMW LVITEMW -#define LV_DISPINFOA NMLVDISPINFOA -#define LV_DISPINFOW NMLVDISPINFOW - -#if wxUSE_UNICODE -#define LV_FINDINFO LVFINDINFOW -#else -#define LV_FINDINFO LVFINDINFOA -#endif - -#endif - #endif // _WX_MISSING_H_