From 899f8b72635ed7cdfda0a00f3cb253ecb74c2555 Mon Sep 17 00:00:00 2001 From: Vincent Povirk Date: Thu, 21 Nov 2019 11:18:09 -0600 Subject: [PATCH] Fix message constants in Interop.ComCtl32.TB. --- src/Common/src/Interop/ComCtl32/Interop.TB.cs | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/src/Common/src/Interop/ComCtl32/Interop.TB.cs b/src/Common/src/Interop/ComCtl32/Interop.TB.cs index d468b92238f..d942a37e136 100644 --- a/src/Common/src/Interop/ComCtl32/Interop.TB.cs +++ b/src/Common/src/Interop/ComCtl32/Interop.TB.cs @@ -8,10 +8,9 @@ internal static partial class ComCtl32 { public enum TB : int { - FIRST = 0x1000, - GETBUTTONINFOW = FIRST + 63, - SETBUTTONINFOW = FIRST + 64, - INSERTBUTTONW = FIRST + 67, + GETBUTTONINFOW = User32.WM_USER + 63, + SETBUTTONINFOW = User32.WM_USER + 64, + INSERTBUTTONW = User32.WM_USER + 67, } } }