]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/msw/missing.h
fixed event generation for wxComboBox to be consistent with the other platforms and...
[wxWidgets.git] / include / wx / msw / missing.h
index 451b3646113a4fc1f443ce089a47030ec6776149..accdcc2747bb635589a523e65fa8d976b9cd8794 100644 (file)
 #define EM_SETUSEMOUSEFORINPUT (WM_USER + 0x224)
 #endif
 
+#ifndef TPM_RECURSE
+#define TPM_RECURSE 1
+#endif
+
 // ----------------------------------------------------------------------------
 // ListView common control
 // Needed by listctrl.cpp
     #define LVS_EX_SUBITEMIMAGES 0x00000002
 #endif
 
+#ifndef HDN_GETDISPINFOW
+    #define HDN_GETDISPINFOW (HDN_FIRST-29)
+#endif
+
  /*
   * In addition to the above, the following are required for several compilers.
   */
 
 #ifdef __DMC__
 
-#ifdef __DMC__
-    #ifndef _TrackMouseEvent
-        #define _TrackMouseEvent TrackMouseEvent
-    #endif
+typedef struct _OSVERSIONINFOEX {
+    DWORD dwOSVersionInfoSize;
+    DWORD dwMajorVersion;
+    DWORD dwMinorVersion;
+    DWORD dwBuildNumber;
+    DWORD dwPlatformId;
+    TCHAR szCSDVersion[ 128 ];
+    WORD  wServicePackMajor;
+    WORD  wServicePackMinor;
+    WORD  wSuiteMask;
+    BYTE  wProductType;
+    BYTE  wReserved;
+} OSVERSIONINFOEX;
+
+#ifndef _TrackMouseEvent
+    #define _TrackMouseEvent TrackMouseEvent
 #endif
 
 #ifndef LVM_SETEXTENDEDLISTVIEWSTYLE
     #define HDM_GETITEMRECT (HDM_FIRST+7)
 #endif
 
-#ifndef HDN_GETDISPINFOW
-    #define HDN_GETDISPINFOW (HDN_FIRST-29)
-#endif
-
 #ifndef ListView_GetHeader
     #define ListView_GetHeader(w) (HWND)SendMessage((w),LVM_GETHEADER,0,0)
 #endif
     #define LVSICF_NOSCROLL         0x0002
 #endif
 
+#ifndef CP_SYMBOL
+    #define CP_SYMBOL 42
+#endif
+
 // ----------------------------------------------------------------------------
 // Tree control
 // ----------------------------------------------------------------------------