Do not redeclare a struct (w32api 2.2 will have it).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19116 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
		| @@ -159,8 +159,9 @@ typedef struct tagNMLVDISPINFOW { | |||||||
| #endif | #endif | ||||||
| #endif | #endif | ||||||
|  |  | ||||||
| #if (defined(__GNUWIN32__) || defined __BORLANDC__) && !defined(HDN_GETDISPINFOW) | #if (defined(__GNUWIN32__) || defined(__BORLANDC__)) && !defined(HDN_GETDISPINFOW) | ||||||
| #define HDN_GETDISPINFOW (HDN_FIRST-29) | #define HDN_GETDISPINFOW (HDN_FIRST-29) | ||||||
|  | #if !wxCHECK_W32API_VERSION(2, 2) | ||||||
| typedef struct { | typedef struct { | ||||||
|         NMHDR hdr; |         NMHDR hdr; | ||||||
|         int iItem; |         int iItem; | ||||||
| @@ -171,6 +172,7 @@ typedef struct { | |||||||
|         LPARAM lParam; |         LPARAM lParam; | ||||||
| } NMHDDISPINFOW, *LPNMHDDISPINFOW; | } NMHDDISPINFOW, *LPNMHDDISPINFOW; | ||||||
| #endif | #endif | ||||||
|  | #endif | ||||||
|  |  | ||||||
|  |  | ||||||
| // ---------------------------------------------------------------------------- | // ---------------------------------------------------------------------------- | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user