From: Hermès Bélusca-Maïto Date: Sun, 28 Jul 2019 22:32:14 +0000 (+0200) Subject: [USER32] Use the correct __REACTOS__ define. X-Git-Tag: 0.4.14-dev~499 X-Git-Url: https://git.reactos.org/?p=reactos.git;a=commitdiff_plain;h=51d031cc5d8dec865d20d45c923e151ad0baa8ae [USER32] Use the correct __REACTOS__ define. --- diff --git a/win32ss/user/user32/controls/button.c b/win32ss/user/user32/controls/button.c index a9afe494c7a..7a4deca465d 100644 --- a/win32ss/user/user32/controls/button.c +++ b/win32ss/user/user32/controls/button.c @@ -389,7 +389,7 @@ LRESULT WINAPI ButtonWndProc_common(HWND hWnd, UINT uMsg, break; /* fall through */ case WM_LBUTTONUP: -#ifdef _REACTOS_ +#ifdef __REACTOS__ BOOL TellParent = FALSE; //// ReactOS see note below. #endif state = get_button_state( hWnd ); @@ -419,14 +419,14 @@ LRESULT WINAPI ButtonWndProc_common(HWND hWnd, UINT uMsg, (state & BST_INDETERMINATE) ? 0 : ((state & 3) + 1), 0 ); break; } -#ifdef _REACTOS_ +#ifdef __REACTOS__ TellParent = TRUE; // <---- Fix CORE-10194, Notify parent after capture is released. #else ReleaseCapture(); BUTTON_NOTIFY_PARENT(hWnd, BN_CLICKED); #endif } -#ifdef _REACTOS_ +#ifdef __REACTOS__ ReleaseCapture(); if (TellParent) BUTTON_NOTIFY_PARENT(hWnd, BN_CLICKED); #else