projects
/
reactos.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
94ad6e5
)
[UXTHEME] Add a missing WS_EX_DLGMODALFRAME check from the unthemed titlebar drawing...
author
Amine Khaldi
<amine.khaldi@reactos.org>
Sat, 6 Jun 2015 17:08:21 +0000
(17:08 +0000)
committer
Amine Khaldi
<amine.khaldi@reactos.org>
Sat, 6 Jun 2015 17:08:21 +0000
(17:08 +0000)
svn path=/trunk/; revision=68049
reactos/dll/win32/uxtheme/nonclient.c
patch
|
blob
|
history
diff --git
a/reactos/dll/win32/uxtheme/nonclient.c
b/reactos/dll/win32/uxtheme/nonclient.c
index
db011c9
..
36c9274
100644
(file)
--- a/
reactos/dll/win32/uxtheme/nonclient.c
+++ b/
reactos/dll/win32/uxtheme/nonclient.c
@@
-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);