Skip to content
Snippets Groups Projects
Commit f2355e0f authored by Susan Farley's avatar Susan Farley Committed by Alexandre Julliard
Browse files

Don't destroy the caret on SWP_HIDEWINDOW.

parent a64603d3
No related branches found
No related tags found
No related merge requests found
......@@ -2829,8 +2829,14 @@ Pos: /* -----------------------------------------------------------------------
if( winpos.flags & SWP_HIDEWINDOW )
{
wndPtr->dwStyle &= ~WS_VISIBLE;
}
if (hwnd == CARET_GetHwnd()) DestroyCaret();
if (hwnd == CARET_GetHwnd())
{
if( winpos.flags & SWP_HIDEWINDOW )
HideCaret(hwnd);
else if (winpos.flags & SWP_SHOWWINDOW)
ShowCaret(hwnd);
}
/* ------------------------------------------------------------------------ FINAL */
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment