From 690201a250dcdd2a38aa4156df4375dd135209df Mon Sep 17 00:00:00 2001 From: =?utf8?q?V=C3=A1clav=20Slav=C3=ADk?= Date: Mon, 15 Dec 2003 21:43:59 +0000 Subject: [PATCH] compilation fix for tooltip patch code applied by Julian and w32api git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24876 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- include/wx/msw/missing.h | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) diff --git a/include/wx/msw/missing.h b/include/wx/msw/missing.h index 8c347306c9..e8da5b96c6 100644 --- a/include/wx/msw/missing.h +++ b/include/wx/msw/missing.h @@ -430,6 +430,38 @@ typedef struct { #define TVM_SETTEXTCOLOR (TV_FIRST + 30) #endif +#ifndef TVN_GETINFOTIP + #ifdef UNICODE + #define TVN_GETINFOTIP TVN_GETINFOTIPW + #else + #define TVN_GETINFOTIP TVN_GETINFOTIPA + #endif +#endif + +#ifndef NMTVGETINFOTIP + struct NMTVGETINFOTIPA + { + NMHDR hdr; + LPSTR pszText; + int cchTextMax; + HTREEITEM hItem; + LPARAM lParam; + }; + struct NMTVGETINFOTIPW + { + NMHDR hdr; + LPWSTR pszText; + int cchTextMax; + HTREEITEM hItem; + LPARAM lParam; + }; + #ifdef UNICODE + #define NMTVGETINFOTIP NMTVGETINFOTIPW + #else + #define NMTVGETINFOTIP NMTVGETINFOTIPA + #endif +#endif + // ---------------------------------------------------------------------------- // Misc stuff // ---------------------------------------------------------------------------- -- 2.50.0