From 955a4fc384c7d0a5954cc40deb646077daeb279f Mon Sep 17 00:00:00 2001 From: Jelle Geerts Date: Sun, 18 Nov 2018 21:25:35 +0000 Subject: [PATCH] Fix MinGW-Bug #38736 (OSDN ticket). --- w32api/ChangeLog | 7 +++++++ w32api/include/commctrl.h | 2 +- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/w32api/ChangeLog b/w32api/ChangeLog index 76916d1..7a1f97f 100644 --- a/w32api/ChangeLog +++ b/w32api/ChangeLog @@ -1,3 +1,10 @@ +2018-11-18 Jelle Geerts + + Fix MinGW-Bug #38736 (OSDN ticket). + + * include/commctrl.h (DTM_SETFORMATW): Correct definition; was 0x1050, + but should be equivalent to 0x1000 + 50, which is actually 0x1032. + 2018-11-18 Keith Marshall Make header effectively self-contained. diff --git a/w32api/include/commctrl.h b/w32api/include/commctrl.h index 594f552..e25f601 100644 --- a/w32api/include/commctrl.h +++ b/w32api/include/commctrl.h @@ -1977,7 +1977,7 @@ _BEGIN_C_DECLS #define DTM_GETRANGE 0x1003 #define DTM_SETRANGE 0x1004 #define DTM_SETFORMATA 0x1005 -#define DTM_SETFORMATW 0x1050 +#define DTM_SETFORMATW 0x1032 #define DTM_SETMCCOLOR 0x1006 #define DTM_GETMCCOLOR 0x1007 #define DTM_GETMONTHCAL 0x1008 -- 2.11.0