From: Chris Elliott Date: Tue, 20 Jan 2004 09:01:11 +0000 (+0000) Subject: fix for DMC missing mouse defines - linking of minimal failed X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/2a78ba63c10ba7d9e4d004c747e99888680e50cf fix for DMC missing mouse defines - linking of minimal failed git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25257 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/msw/window.cpp b/src/msw/window.cpp index 2230934855..659e65db10 100644 --- a/src/msw/window.cpp +++ b/src/msw/window.cpp @@ -4397,7 +4397,7 @@ bool wxWindowMSW::HandleMouseMove(int x, int y, WXUINT flags) { // Generate an ENTER event m_mouseInWindow = TRUE; - +#if _WIN32_WINNT >= 0x0400 #ifndef __WXWINCE__ TRACKMOUSEEVENT trackinfo; @@ -4409,7 +4409,7 @@ bool wxWindowMSW::HandleMouseMove(int x, int y, WXUINT flags) // else we need _WIN32_WINNT >= 0x0400 _TrackMouseEvent(&trackinfo); #endif - +#endif wxMouseEvent event(wxEVT_ENTER_WINDOW); InitMouseEvent(event, x, y, flags);