mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 18:15:11 +00:00
[USER32] Use the correct __REACTOS__ define.
This commit is contained in:
parent
bdb60afc86
commit
51d031cc5d
1 changed files with 3 additions and 3 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue