2010-10-20 Seth Jackson <sethj@users.sourceforge.net>

* include/commctrl.h (TC_ITEMHEADER[AW]): Rename to TCITEMHEADER[AW].
        Add defines for backward compatibility.
This commit is contained in:
Chris Sutcliffe 2010-12-27 20:31:59 +00:00
parent 036f657a2b
commit be26f8bde5
2 changed files with 15 additions and 4 deletions

View File

@ -1,3 +1,8 @@
2010-10-20 Seth Jackson <sethj@users.sourceforge.net>
* include/commctrl.h (TC_ITEMHEADER[AW]): Rename to TCITEMHEADER[AW].
Add defines for backward compatibility.
2010-12-27 Johann Hanne <jonnyh33@users.sourceforge.net> 2010-12-27 Johann Hanne <jonnyh33@users.sourceforge.net>
* include/oaidl.h (GetTypeComp, GetTypeComp, IsMatchingType): Fix defintion. * include/oaidl.h (GetTypeComp, GetTypeComp, IsMatchingType): Fix defintion.

View File

@ -2712,22 +2712,24 @@ typedef struct _TV_KEYDOWN {
WORD wVKey; WORD wVKey;
UINT flags; UINT flags;
} TV_KEYDOWN; } TV_KEYDOWN;
typedef struct _TC_ITEMHEADERA { typedef struct tagTCITEMHEADERA {
UINT mask; UINT mask;
UINT lpReserved1; UINT lpReserved1;
UINT lpReserved2; UINT lpReserved2;
LPSTR pszText; LPSTR pszText;
int cchTextMax; int cchTextMax;
int iImage; int iImage;
} TC_ITEMHEADERA; } TCITEMHEADERA, *LPTCITEMHEADERA;
typedef struct _TC_ITEMHEADERW { #define TC_ITEMHEADERA TCITEMHEADERA
typedef struct tagTCITEMHEADERW {
UINT mask; UINT mask;
UINT lpReserved1; UINT lpReserved1;
UINT lpReserved2; UINT lpReserved2;
LPWSTR pszText; LPWSTR pszText;
int cchTextMax; int cchTextMax;
int iImage; int iImage;
} TC_ITEMHEADERW; } TCITEMHEADERW, *LPTCITEMHEADERW;
#define TC_ITEMHEADERW TCITEMHEADERW
typedef struct tagTCITEMA { typedef struct tagTCITEMA {
UINT mask; UINT mask;
#if (_WIN32_IE >= 0x0300) #if (_WIN32_IE >= 0x0300)
@ -3530,6 +3532,8 @@ typedef NMHDDISPINFOW NMHDDISPINFO, *LPNMHDDISPINFO;
#define TVN_BEGINLABELEDIT TVN_BEGINLABELEDITW #define TVN_BEGINLABELEDIT TVN_BEGINLABELEDITW
#define TVN_ENDLABELEDIT TVN_ENDLABELEDITW #define TVN_ENDLABELEDIT TVN_ENDLABELEDITW
#define TC_ITEMHEADER TC_ITEMHEADERW #define TC_ITEMHEADER TC_ITEMHEADERW
#define TCITEMHEADER TCITEMHEADERW
#define LPTCITEMHEADER LPTCITEMHEADERW
#define TC_ITEM TC_ITEMW #define TC_ITEM TC_ITEMW
#define TCITEM TCITEMW #define TCITEM TCITEMW
#define LPTCITEM LPTCITEMW #define LPTCITEM LPTCITEMW
@ -3706,6 +3710,8 @@ typedef NMHDDISPINFOW NMHDDISPINFO, *LPNMHDDISPINFO;
#define TVN_BEGINLABELEDIT TVN_BEGINLABELEDITA #define TVN_BEGINLABELEDIT TVN_BEGINLABELEDITA
#define TVN_ENDLABELEDIT TVN_ENDLABELEDITA #define TVN_ENDLABELEDIT TVN_ENDLABELEDITA
#define TC_ITEMHEADER TC_ITEMHEADERA #define TC_ITEMHEADER TC_ITEMHEADERA
#define TCITEMHEADER TCITEMHEADERA
#define LPTCITEMHEADER LPTCITEMHEADERA
#define TC_ITEM TC_ITEMA #define TC_ITEM TC_ITEMA
#define TCITEM TCITEMA #define TCITEM TCITEMA
#define LPTCITEM LPTCITEMA #define LPTCITEM LPTCITEMA