]> git.saurik.com Git - wxWidgets.git/commitdiff
Do not redeclare a struct (w32api 2.2 will have it).
authorMattia Barbon <mbarbon@cpan.org>
Tue, 4 Feb 2003 21:37:58 +0000 (21:37 +0000)
committerMattia Barbon <mbarbon@cpan.org>
Tue, 4 Feb 2003 21:37:58 +0000 (21:37 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19116 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

include/wx/msw/missing.h

index 4a094e59de4c7c2f0fe0228b5b3cddd047beb6c0..3161485f4990792b15432887f271f06a30be3f6a 100644 (file)
@@ -161,6 +161,7 @@ typedef struct tagNMLVDISPINFOW {
 
 #if ((defined(__WATCOMC__) && __WATCOMC__ >= 1200) || defined(__GNUWIN32__)) && !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
 
 
 // ----------------------------------------------------------------------------