]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/msw/missing.h
COmpilation fix.
[wxWidgets.git] / include / wx / msw / missing.h
index 4a094e59de4c7c2f0fe0228b5b3cddd047beb6c0..3ce2627674a309221ead2fe41ea695deaf992548 100644 (file)
@@ -159,8 +159,9 @@ typedef struct tagNMLVDISPINFOW {
 #endif
 #endif
 
-#if ((defined(__WATCOMC__) && __WATCOMC__ >= 1200) || defined(__GNUWIN32__)) && !defined(HDN_GETDISPINFOW)
+#if ((defined(__WATCOMC__) && __WATCOMC__ >= 1200) || defined(__GNUWIN32__) || defined(__DIGITALMARS__) || defined (__BORLANDC__)) && !defined(HDN_GETDISPINFOW)
 #define HDN_GETDISPINFOW (HDN_FIRST-29)
+#if !wxCHECK_W32API_VERSION(2, 2)
 typedef struct {
         NMHDR hdr;
         int iItem;
@@ -171,6 +172,7 @@ typedef struct {
         LPARAM lParam;
 } NMHDDISPINFOW, *LPNMHDDISPINFOW;
 #endif
+#endif
 
 
 // ----------------------------------------------------------------------------