From d24574133efc8e3ac7fba652ddad63544621a3ef Mon Sep 17 00:00:00 2001 From: Julian Smart Date: Fri, 13 May 2005 12:50:25 +0000 Subject: [PATCH] Cleanup git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@34053 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- include/wx/msw/missing.h | 80 +--------------------------------------- 1 file changed, 1 insertion(+), 79 deletions(-) diff --git a/include/wx/msw/missing.h b/include/wx/msw/missing.h index 732578a132..23d03c7c75 100644 --- a/include/wx/msw/missing.h +++ b/include/wx/msw/missing.h @@ -48,18 +48,6 @@ #define LVSICF_NOSCROLL 0x0002 #endif -// mingw32/cygwin don't have declarations for comctl32.dll 4.70+ stuff -#ifndef NM_CACHEHINT - typedef struct tagNMLVCACHEHINT - { - NMHDR hdr; - int iFrom; - int iTo; - } NMLVCACHEHINT; - - #define NM_CACHEHINT NMLVCACHEHINT -#endif - #ifndef LVN_ODCACHEHINT #define LVN_ODCACHEHINT (-113) #endif @@ -89,42 +77,6 @@ #define LVCFMT_BITMAP_ON_RIGHT 0x1000 #endif -#if defined(__GNUWIN32__) && !defined(LV_ITEM) \ - && !wxCHECK_W32API_VERSION( 0, 5 ) -typedef struct _LVITEMW { - UINT mask; - int iItem; - int iSubItem; - UINT state; - UINT stateMask; - LPWSTR pszText; - int cchTextMax; - int iImage; - LPARAM lParam; -#if (_WIN32_IE >= 0x0300) - int iIndent; -#endif -} LV_ITEMW; - -typedef struct tagLVITEMA -{ - UINT mask; - int iItem; - int iSubItem; - UINT state; - UINT stateMask; - LPSTR pszText; - int cchTextMax; - int iImage; - LPARAM lParam; -#if (_WIN32_IE >= 0x0300) - int iIndent; -#endif -} LV_ITEMA; - -#define LV_ITEM LV_ITEMA; -#endif - #ifndef ListView_GetColumnWidth #define ListView_GetColumnWidth(hwnd, iCol) \ (int)SNDMSG((hwnd), LVM_GETCOLUMNWIDTH, (WPARAM)(int)(iCol), 0) @@ -145,38 +97,8 @@ typedef struct tagLVITEMA (int)SNDMSG((hwnd), LVM_FINDITEM, (WPARAM)(int)(iStart), (LPARAM)(const LV_FINDINFO FAR*)(plvfi)) #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 - -#if ((defined(__WATCOMC__) && __WATCOMC__ >= 1200) || defined(__GNUWIN32__) || defined (__MINGW32__) || defined(__DIGITALMARS__) || defined (__BORLANDC__)) && !defined(HDN_GETDISPINFOW) +#ifndef HDN_GETDISPINFOW #define HDN_GETDISPINFOW (HDN_FIRST-29) -#if !wxCHECK_W32API_VERSION(2, 2) -typedef struct { - NMHDR hdr; - int iItem; - UINT mask; - LPWSTR pszText; - int cchTextMax; - int iImage; - LPARAM lParam; -} NMHDDISPINFOW, *LPNMHDDISPINFOW; -#endif #endif // ----------------------------------------------------------------------------