mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-08-31 19:26:42 +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:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user