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
This commit is contained in:
parent
a00daa65ec
commit
690201a250
@ -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
|
||||
// ----------------------------------------------------------------------------
|
||||
|
Loading…
Reference in New Issue
Block a user