OSDN Git Service

Fix MinGW-Bug #38736 (OSDN ticket).
authorJelle Geerts <heisenbug@users.osdn.me>
Sun, 18 Nov 2018 21:25:35 +0000 (21:25 +0000)
committerJelle Geerts <heisenbug@users.osdn.me>
Sun, 18 Nov 2018 21:25:35 +0000 (21:25 +0000)
w32api/ChangeLog
w32api/include/commctrl.h

index 76916d1..7a1f97f 100644 (file)
@@ -1,3 +1,10 @@
+2018-11-18  Jelle Geerts  <heisenbug@users.osdn.me>
+
+       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  <keith@users.osdn.me>
 
        Make <commctrl.h> header effectively self-contained.
index 594f552..e25f601 100644 (file)
@@ -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