Author: akhaldi
Date: Sat Jun  6 17:08:21 2015
New Revision: 68049

URL: http://svn.reactos.org/svn/reactos?rev=68049&view=rev
Log:
[UXTHEME] Add a missing WS_EX_DLGMODALFRAME check from the unthemed titlebar 
drawing code. By Ismael Ferreras Morezuelas (IRC name swyter). CORE-9635

Modified:
    trunk/reactos/dll/win32/uxtheme/nonclient.c

Modified: trunk/reactos/dll/win32/uxtheme/nonclient.c
URL: 
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/uxtheme/nonclient.c?rev=68049&r1=68048&r2=68049&view=diff
==============================================================================
--- trunk/reactos/dll/win32/uxtheme/nonclient.c [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/uxtheme/nonclient.c [iso-8859-1] Sat Jun  6 
17:08:21 2015
@@ -352,7 +352,8 @@
     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);


Reply via email to