[UXTHEME] Add a missing WS_EX_DLGMODALFRAME check from the unthemed titlebar drawing code. By Ismael Ferreras Morezuelas (IRC name swyter). CORE-9635

svn path=/trunk/; revision=68049
This commit is contained in:
Amine Khaldi 2015-06-06 17:08:21 +00:00
parent 94ad6e5990
commit 7a90496c39

View file

@ -352,7 +352,8 @@ ThemeDrawCaption(PDRAW_CONTEXT pcontext, RECT* prcCurrent)
rcPart.top += 3 ;
/* Draw the icon */
if(hIcon && !(pcontext->wi.dwExStyle & WS_EX_TOOLWINDOW))
if(hIcon && !(pcontext->wi.dwExStyle & WS_EX_TOOLWINDOW)
&& !(pcontext->wi.dwExStyle & WS_EX_DLGMODALFRAME))
{
int IconHeight = GetSystemMetrics(SM_CYSMICON);
int IconWidth = GetSystemMetrics(SM_CXSMICON);