X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/3bce6687f47dfa5fb8d4bab92702a5b5b1eb3485..c220541de457e9aa4faac5f8eb8363fe619b79a5:/include/wx/msw/missing.h?ds=sidebyside diff --git a/include/wx/msw/missing.h b/include/wx/msw/missing.h index c29e85121e..4a094e59de 100644 --- a/include/wx/msw/missing.h +++ b/include/wx/msw/missing.h @@ -100,7 +100,24 @@ typedef struct _LVITEMW { int iIndent; #endif } LV_ITEMW; -typedef LV_ITEM LV_ITEMA; + +typedef struct tagLVITEMA +{ + UINT mask; + int iItem; + int iSubItem; + UINT state; + UINT stateMask; + LPSTR pszText; + int cchTextMax; + int iImage; + LPARAM lParam; +#if (_WIN32_IE >= 0x0300) + int iIndent; +#endif +} LV_ITEMA; + +#define LV_ITEM LV_ITEMA; #endif #ifndef ListView_GetColumnWidth @@ -142,6 +159,19 @@ typedef struct tagNMLVDISPINFOW { #endif #endif +#if ((defined(__WATCOMC__) && __WATCOMC__ >= 1200) || 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 @@ -213,19 +243,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_