From: Václav Slavík Date: Mon, 15 Dec 2003 21:43:59 +0000 (+0000) Subject: compilation fix for tooltip patch code applied by Julian and w32api X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/690201a250dcdd2a38aa4156df4375dd135209df 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 --- 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 // ----------------------------------------------------------------------------