mirror of
https://github.com/reactos/reactos.git
synced 2025-06-20 07:36:05 +00:00
- Fix AbiWord Crash when sizing.
svn path=/trunk/; revision=62751
This commit is contained in:
parent
9b7d5bcdff
commit
5aaa06b20b
1 changed files with 12 additions and 3 deletions
|
@ -97,9 +97,18 @@ IntSetTebWndCallback (HWND * hWnd, PWND * pWnd, PVOID * pActCtx)
|
||||||
*pWnd = ClientInfo->CallbackWnd.pWnd;
|
*pWnd = ClientInfo->CallbackWnd.pWnd;
|
||||||
*pActCtx = ClientInfo->CallbackWnd.pActCtx;
|
*pActCtx = ClientInfo->CallbackWnd.pActCtx;
|
||||||
|
|
||||||
ClientInfo->CallbackWnd.hWnd = hWndS;
|
if (Window)
|
||||||
ClientInfo->CallbackWnd.pWnd = DesktopHeapAddressToUser(Window);
|
{
|
||||||
ClientInfo->CallbackWnd.pActCtx = Window->pActCtx;
|
ClientInfo->CallbackWnd.hWnd = hWndS;
|
||||||
|
ClientInfo->CallbackWnd.pWnd = DesktopHeapAddressToUser(Window);
|
||||||
|
ClientInfo->CallbackWnd.pActCtx = Window->pActCtx;
|
||||||
|
}
|
||||||
|
else //// What if Dispatching WM_SYS/TIMER with NULL window? Fix AbiWord Crash when sizing.
|
||||||
|
{
|
||||||
|
ClientInfo->CallbackWnd.hWnd = hWndS;
|
||||||
|
ClientInfo->CallbackWnd.pWnd = Window;
|
||||||
|
ClientInfo->CallbackWnd.pActCtx = 0;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
static VOID
|
static VOID
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue