TrackMouse DMC fix.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31592 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Włodzimierz Skiba
2005-01-25 12:22:56 +00:00
parent 14778505d8
commit 5fae0f97a1
2 changed files with 9 additions and 8 deletions

View File

@@ -261,6 +261,11 @@
<if cond="FORMAT!='autoconf' and UNICODE=='1'">_UNICODE</if> <if cond="FORMAT!='autoconf' and UNICODE=='1'">_UNICODE</if>
</set> </set>
<!-- fill for the specific case of the format/compiler -->
<set var="WIN32_WINNT">
<if cond="FORMAT=='dmars' or FORMAT=='dmars_smake'">_WIN32_WINNT=0x0400</if>
</set>
<set var="UNICOWS_LIB"> <set var="UNICOWS_LIB">
<if cond="MSLU=='1'">unicows</if> <if cond="MSLU=='1'">unicows</if>
</set> </set>
@@ -277,6 +282,7 @@
<cppflags>$(EXTRACFLAGS)</cppflags> <cppflags>$(EXTRACFLAGS)</cppflags>
</if> </if>
<define>$(NO_VC_CRTDBG)</define> <define>$(NO_VC_CRTDBG)</define>
<define>$(WIN32_WINNT)</define>
</template> </template>
<template id="anylib"> <template id="anylib">

View File

@@ -520,14 +520,9 @@ typedef struct {
#ifdef __DMC__ #ifdef __DMC__
typedef struct tagTRACKMOUSEEVENT { #ifndef _TrackMouseEvent
DWORD cbSize; #define _TrackMouseEvent TrackMouseEvent
DWORD dwFlags; #endif
HWND hwndTrack;
DWORD dwHoverTime;
} TRACKMOUSEEVENT, *LPTRACKMOUSEEVENT;
WINCOMMCTRLAPI BOOL WINAPI _TrackMouseEvent(LPTRACKMOUSEEVENT lpEventTrack);
#endif #endif