fix for DMC missing mouse defines

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25252 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Chris Elliott
2004-01-19 16:41:08 +00:00
parent 8d8b257c4e
commit 446ea10731
2 changed files with 34 additions and 1 deletions

View File

@@ -493,5 +493,38 @@ typedef struct {
#define HANGUL_CHARSET 129 #define HANGUL_CHARSET 129
#endif #endif
#ifndef TME_HOVER
#define TME_HOVER 1
#endif
#ifndef TME_LEAVE
#define TME_LEAVE 2
#endif
#ifndef TME_QUERY
#define TME_QUERY 0x40000000
#endif
#ifndef TME_CANCEL
#define TME_CANCEL 0x80000000
#endif
#ifndef HOVER_DEFAULT
#define HOVER_DEFAULT 0xFFFFFFFF
#endif
#ifdef __DMC__
typedef struct tagTRACKMOUSEEVENT {
DWORD cbSize;
DWORD dwFlags;
HWND hwndTrack;
DWORD dwHoverTime;
} TRACKMOUSEEVENT, *LPTRACKMOUSEEVENT;
WINCOMMCTRLAPI BOOL WINAPI _TrackMouseEvent(LPTRACKMOUSEEVENT lpEventTrack);
#endif
#endif #endif
// _WX_MISSING_H_ // _WX_MISSING_H_

View File

@@ -114,7 +114,7 @@
#include "wx/msw/gnuwin32/extra.h" #include "wx/msw/gnuwin32/extra.h"
#endif #endif
#if defined(__GNUG__) #if defined(__GNUG__) || defined(__DMC__)
#include "wx/msw/missing.h" #include "wx/msw/missing.h"
#endif #endif