diff --git a/include/wx/msw/missing.h b/include/wx/msw/missing.h index cf63f3ec4f..631006ba34 100644 --- a/include/wx/msw/missing.h +++ b/include/wx/msw/missing.h @@ -159,10 +159,20 @@ typedef struct tagNMLVDISPINFOW { #endif #endif -#ifndef HDN_GETDISPINFOW +#if defined(__GNUWIN32__) && !defined(HDN_GETDISPINFOW) #define HDN_GETDISPINFOW (HDN_FIRST-29) +typedef struct { + NMHDR hdr; + int iItem; + UINT mask; + LPWSTR pszText; + int cchTextMax; + int iImage; + LPARAM lParam; +} NMHDDISPINFOW, *LPNMHDDISPINFOW; #endif + // ---------------------------------------------------------------------------- // MS HTML Help // ----------------------------------------------------------------------------