]> git.saurik.com Git - wxWidgets.git/commitdiff
More fixes for daily builds
authorMattia Barbon <mbarbon@cpan.org>
Wed, 6 Mar 2002 20:11:51 +0000 (20:11 +0000)
committerMattia Barbon <mbarbon@cpan.org>
Wed, 6 Mar 2002 20:11:51 +0000 (20:11 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14468 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/msw/listctrl.cpp

index 26d176d73654cd033030fa39933bf31c6bc5d637..e95f417a955a284ee9ccc28f65ec551adb428a12 100644 (file)
@@ -136,6 +136,25 @@ typedef struct _LVITEMW {
 typedef LV_ITEM LV_ITEMA;
 #endif
 
+#if defined(__GNUWIN32__) && !wxCHECK_W32API_VERSION( 0, 5 )
+#ifndef LV_DISPINFOA
+typedef struct tagNMLVDISPINFOA {
+        NMHDR hdr;
+        LV_ITEMA item;
+} NMLVDISPINFOA, FAR *LPNMLVDISPINFOA;
+#define _LV_DISPINFOA tagNMLVDISPINFOA
+#define LV_DISPINFOA NMLVDISPINFOA
+#endif
+#ifndef LV_DISPINFOW
+typedef struct tagNMLVDISPINFOW {
+        NMHDR hdr;
+        LV_ITEMW item;
+} NMLVDISPINFOW, FAR *LPNMLVDISPINFOW;
+#define _LV_DISPINFOW tagNMLVDISPINFOW
+#define LV_DISPINFOW NMLVDISPINFOW
+#endif
+#endif
+
 // ----------------------------------------------------------------------------
 // private functions
 // ----------------------------------------------------------------------------