diff options
author | Danny Smith <dannysmith@users.sourceforge.net> | 2004-12-23 08:13:51 +0000 |
---|---|---|
committer | Danny Smith <dannysmith@users.sourceforge.net> | 2004-12-23 08:13:51 +0000 |
commit | 3993374d4ee8a081056fad98ebed90975970ccee (patch) | |
tree | d43685b506ec9c245326740f87660d994728e707 /winsup | |
parent | 63fcc6d48f520c75e179cc3c1599a6810cfd1943 (diff) | |
download | newlib-3993374d4ee8a081056fad98ebed90975970ccee.zip newlib-3993374d4ee8a081056fad98ebed90975970ccee.tar.gz newlib-3993374d4ee8a081056fad98ebed90975970ccee.tar.bz2 |
* include/commctrl.h (CDRF_NOTIFYSUBITEMDRAW): Add define.
Thanks to: Chris Sutcliffe <ironhead@walled.net>
(CDRF_*): Use hex notation for constants.
Diffstat (limited to 'winsup')
-rw-r--r-- | winsup/w32api/ChangeLog | 6 | ||||
-rw-r--r-- | winsup/w32api/include/commctrl.h | 16 |
2 files changed, 14 insertions, 8 deletions
diff --git a/winsup/w32api/ChangeLog b/winsup/w32api/ChangeLog index 51e5b6c..ba18fd3 100644 --- a/winsup/w32api/ChangeLog +++ b/winsup/w32api/ChangeLog @@ -1,3 +1,9 @@ +2004-12-23 Danny Smith <dannysmith@users.sourceforge.net> + + * include/commctrl.h (CDRF_NOTIFYSUBITEMDRAW): Add define. + Thanks to: Chris Sutcliffe <ironhead@walled.net> + (CDRF_*): Use hex notation for constants. + 2004-12-08 Danny Smith <dannysmith@users.sourceforge.net> * include/sqlext.h (SQL_INTERVAL_*): Correct macros. diff --git a/winsup/w32api/include/commctrl.h b/winsup/w32api/include/commctrl.h index 980fab9..524f59f 100644 --- a/winsup/w32api/include/commctrl.h +++ b/winsup/w32api/include/commctrl.h @@ -945,14 +945,14 @@ extern "C" { #if (_WIN32_IE >= 0x0400) #define CDDS_SUBITEM 0x20000 #endif -/* FIXME: missing CDRF_NOTIFYSUBITEMDRAW */ -#define CDRF_DODEFAULT 0 -#define CDRF_NOTIFYITEMDRAW 32 -#define CDRF_NOTIFYITEMERASE 128 -#define CDRF_NOTIFYPOSTERASE 64 -#define CDRF_NOTIFYPOSTPAINT 16 -#define CDRF_NEWFONT 2 -#define CDRF_SKIPDEFAULT 4 +#define CDRF_DODEFAULT 0x00 +#define CDRF_NOTIFYITEMDRAW 0x20 +#define CDRF_NOTIFYSUBITEMDRAW 0x20 +#define CDRF_NOTIFYITEMERASE 0x80 +#define CDRF_NOTIFYPOSTERASE 0x40 +#define CDRF_NOTIFYPOSTPAINT 0x10 +#define CDRF_NEWFONT 0x02 +#define CDRF_SKIPDEFAULT 0x04 #if (_WIN32_IE >= 0x0400) #define LVBKIF_SOURCE_NONE 0x00000000 #define LVBKIF_SOURCE_HBITMAP 0x00000001 |