mirror of
https://github.com/reactos/reactos.git
synced 2025-03-30 17:10:22 +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;
|
break;
|
||||||
/* fall through */
|
/* fall through */
|
||||||
case WM_LBUTTONUP:
|
case WM_LBUTTONUP:
|
||||||
#ifdef _REACTOS_
|
#ifdef __REACTOS__
|
||||||
BOOL TellParent = FALSE; //// ReactOS see note below.
|
BOOL TellParent = FALSE; //// ReactOS see note below.
|
||||||
#endif
|
#endif
|
||||||
state = get_button_state( hWnd );
|
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 );
|
(state & BST_INDETERMINATE) ? 0 : ((state & 3) + 1), 0 );
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
#ifdef _REACTOS_
|
#ifdef __REACTOS__
|
||||||
TellParent = TRUE; // <---- Fix CORE-10194, Notify parent after capture is released.
|
TellParent = TRUE; // <---- Fix CORE-10194, Notify parent after capture is released.
|
||||||
#else
|
#else
|
||||||
ReleaseCapture();
|
ReleaseCapture();
|
||||||
BUTTON_NOTIFY_PARENT(hWnd, BN_CLICKED);
|
BUTTON_NOTIFY_PARENT(hWnd, BN_CLICKED);
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
#ifdef _REACTOS_
|
#ifdef __REACTOS__
|
||||||
ReleaseCapture();
|
ReleaseCapture();
|
||||||
if (TellParent) BUTTON_NOTIFY_PARENT(hWnd, BN_CLICKED);
|
if (TellParent) BUTTON_NOTIFY_PARENT(hWnd, BN_CLICKED);
|
||||||
#else
|
#else
|
||||||
|
|
Loading…
Reference in a new issue