mirror of
https://github.com/reactos/reactos.git
synced 2025-01-01 03:54:02 +00:00
This commit is contained in:
parent
32861b84b9
commit
8831328081
1 changed files with 6 additions and 4 deletions
|
@ -390,6 +390,7 @@ LRESULT WINAPI ButtonWndProc_common(HWND hWnd, UINT uMsg,
|
||||||
/* 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 );
|
||||||
|
@ -426,14 +427,15 @@ LRESULT WINAPI ButtonWndProc_common(HWND hWnd, UINT uMsg,
|
||||||
BUTTON_NOTIFY_PARENT(hWnd, BN_CLICKED);
|
BUTTON_NOTIFY_PARENT(hWnd, BN_CLICKED);
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
#ifdef __REACTOS__
|
#ifndef __REACTOS__
|
||||||
ReleaseCapture();
|
|
||||||
if (TellParent) BUTTON_NOTIFY_PARENT(hWnd, BN_CLICKED);
|
|
||||||
#else
|
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
ReleaseCapture();
|
ReleaseCapture();
|
||||||
}
|
}
|
||||||
|
#else
|
||||||
|
ReleaseCapture();
|
||||||
|
if (TellParent) BUTTON_NOTIFY_PARENT(hWnd, BN_CLICKED);
|
||||||
|
}
|
||||||
#endif
|
#endif
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue