]> git.saurik.com Git - wxWidgets.git/commitdiff
fix for DMC missing mouse defines - linking of minimal failed
authorChris Elliott <biol75@york.ac.uk>
Tue, 20 Jan 2004 09:01:11 +0000 (09:01 +0000)
committerChris Elliott <biol75@york.ac.uk>
Tue, 20 Jan 2004 09:01:11 +0000 (09:01 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25257 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/msw/window.cpp

index 223093485513a802895f768f1aefe9d13a317afc..659e65db1098f44c4576d2856773b1241a4ec9d8 100644 (file)
@@ -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);