- Fix a activation drawing issue, if the window is not activated do not draw it active. Used testmenu program from CORE-1573 to test it. If this creates a new problem please open a Jira report.

svn path=/trunk/; revision=69263
This commit is contained in:
James Tabor 2015-09-18 09:28:20 +00:00
parent fe3d8770c2
commit 9fc803f366

View file

@ -1096,11 +1096,12 @@ NC_DoNCPaint(PWND pWnd, HDC hDC, INT Flags)
if (Active) if (Active)
{ {
if (!(pWnd->state & WNDS_ACTIVEFRAME)) if (pWnd->state & WNDS_ACTIVEFRAME)
Flags |= DC_ACTIVE;
else
{ {
ERR("Wnd is active and not set active!\n"); ERR("Wnd is active and not set active!\n");
} }
Flags |= DC_ACTIVE;
} }
TempRect = CurrentRect; TempRect = CurrentRect;