[UXTHEME] Add a missing WS_EX_DLGMODALFRAME check from the unthemed titlebar drawing...
authorAmine Khaldi <amine.khaldi@reactos.org>
Sat, 6 Jun 2015 17:08:21 +0000 (17:08 +0000)
committerAmine 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

index db011c9..36c9274 100644 (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);