]> git.saurik.com Git - wxWidgets.git/commitdiff
fix for DMC missing mouse defines
authorChris Elliott <biol75@york.ac.uk>
Mon, 19 Jan 2004 16:41:08 +0000 (16:41 +0000)
committerChris Elliott <biol75@york.ac.uk>
Mon, 19 Jan 2004 16:41:08 +0000 (16:41 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25252 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

include/wx/msw/missing.h
src/msw/window.cpp

index e90cbbc64813f7bdaf74ef11715cd033161e1c07..dd7ad37b2ddf3d7000cda99494cce9c734a33be3 100644 (file)
@@ -493,5 +493,38 @@ typedef struct {
     #define HANGUL_CHARSET  129
 #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
     // _WX_MISSING_H_
index 081a98761b990e45d863f055b98d794235c34ca4..223093485513a802895f768f1aefe9d13a317afc 100644 (file)
     #include "wx/msw/gnuwin32/extra.h"
 #endif
 
-#if defined(__GNUG__)
+#if defined(__GNUG__) || defined(__DMC__)
 #include "wx/msw/missing.h"
 #endif