X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/6463b9f5399b8670a0c74f2f8666bc2c9f37a406..7f71c4c8d3211df1bad57c5a275d65350e22c10e:/src/msw/window.cpp diff --git a/src/msw/window.cpp b/src/msw/window.cpp index 081a98761b..659e65db10 100644 --- a/src/msw/window.cpp +++ b/src/msw/window.cpp @@ -114,7 +114,7 @@ #include "wx/msw/gnuwin32/extra.h" #endif -#if defined(__GNUG__) +#if defined(__GNUG__) || defined(__DMC__) #include "wx/msw/missing.h" #endif @@ -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);