OSDN Git Service

* include/commctrl.h (CDRF_NOTIFYSUBITEMDRAW): Add define.
authordannysmith <dannysmith>
Thu, 23 Dec 2004 08:13:48 +0000 (08:13 +0000)
committerdannysmith <dannysmith>
Thu, 23 Dec 2004 08:13:48 +0000 (08:13 +0000)
Thanks to: Chris Sutcliffe  <ironhead@walled.net>
(CDRF_*): Use hex notation for constants.

winsup/w32api/ChangeLog
winsup/w32api/include/commctrl.h

index 51e5b6c..ba18fd3 100644 (file)
@@ -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.
index 980fab9..524f59f 100644 (file)
@@ -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