Author: gadamopoulos
Date: Thu Aug 17 21:31:52 2017
New Revision: 75600
URL:
http://svn.reactos.org/svn/reactos?rev=75600&view=rev
Log:
[UXTHEME] -Remove some dead code
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/nonclien…
==============================================================================
--- trunk/reactos/dll/win32/uxtheme/nonclient.c [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/uxtheme/nonclient.c [iso-8859-1] Thu Aug 17 21:31:52 2017
@@ -7,26 +7,6 @@
*/
#include "uxthemep.h"
-
-HFONT hMenuFont = NULL;
-HFONT hMenuFontBold = NULL;
-
-void InitMenuFont(VOID)
-{
- NONCLIENTMETRICS ncm;
-
- ncm.cbSize = sizeof(NONCLIENTMETRICS);
-
- if (!SystemParametersInfo(SPI_GETNONCLIENTMETRICS, sizeof(ncm), &ncm, 0))
- {
- return;
- }
-
- hMenuFont = CreateFontIndirect(&ncm.lfMenuFont);
-
- ncm.lfMenuFont.lfWeight = max(ncm.lfMenuFont.lfWeight + 300, 1000);
- hMenuFontBold = CreateFontIndirect(&ncm.lfMenuFont);
-}
static BOOL
IsWindowActive(HWND hWnd, DWORD ExStyle)