mirror of
https://github.com/reactos/reactos.git
synced 2025-02-22 16:36:33 +00:00
[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:
parent
94ad6e5990
commit
7a90496c39
1 changed files with 2 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue