------------------------------------------------------------------------
r4252 | acceptthis | 2013-03-08 04:23:40 +0000 (Fri, 08 Mar 2013) | 1 line mingw32 apparently doesn't define those either. ------------------------------------------------------------------------ git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4248 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
parent
1ea2bb0e06
commit
f5259d07d6
1 changed files with 25 additions and 17 deletions
|
@ -10,6 +10,31 @@
|
|||
#include "gui.h"
|
||||
|
||||
|
||||
#ifndef TVM_SETBKCOLOR
|
||||
#define TVM_SETBKCOLOR (TV_FIRST + 29)
|
||||
#endif
|
||||
#ifndef TreeView_SetBkColor
|
||||
#define TreeView_SetBkColor(hwnd, clr) \
|
||||
(COLORREF)SNDMSG((hwnd), TVM_SETBKCOLOR, 0, (LPARAM)(clr))
|
||||
#endif
|
||||
|
||||
|
||||
#ifndef TTF_TRACK
|
||||
#define TTF_TRACK 0x0020
|
||||
#endif
|
||||
#ifndef TTF_ABSOLUTE
|
||||
#define TTF_ABSOLUTE 0x0080
|
||||
#endif
|
||||
#ifndef TTM_SETMAXTIPWIDTH
|
||||
#define TTM_SETMAXTIPWIDTH (WM_USER + 24)
|
||||
#endif
|
||||
#ifndef TTM_TRACKACTIVATE
|
||||
#define TTM_TRACKACTIVATE (WM_USER + 17)
|
||||
#endif
|
||||
#ifndef TTM_TRACKPOSITION
|
||||
#define TTM_TRACKPOSITION (WM_USER + 18)
|
||||
#endif
|
||||
|
||||
/*
|
||||
==============
|
||||
LoadFile
|
||||
|
@ -464,23 +489,6 @@ char *GetTooltipText(editor_t *editor)
|
|||
else
|
||||
return NULL;//"Type info not available. Compile first.";
|
||||
}
|
||||
|
||||
#ifndef TTF_TRACK
|
||||
#define TTF_TRACK 0x0020
|
||||
#endif
|
||||
#ifndef TTF_ABSOLUTE
|
||||
#define TTF_ABSOLUTE 0x0080
|
||||
#endif
|
||||
#ifndef TTM_SETMAXTIPWIDTH
|
||||
#define TTM_SETMAXTIPWIDTH (WM_USER + 24)
|
||||
#endif
|
||||
#ifndef TTM_TRACKACTIVATE
|
||||
#define TTM_TRACKACTIVATE (WM_USER + 17)
|
||||
#endif
|
||||
#ifndef TTM_TRACKPOSITION
|
||||
#define TTM_TRACKPOSITION (WM_USER + 18)
|
||||
#endif
|
||||
|
||||
static LONG CALLBACK EditorWndProc(HWND hWnd,UINT message,
|
||||
WPARAM wParam,LPARAM lParam)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue