[UXTHEME] -Remove some dead code
authorGiannis Adamopoulos <gadamopoulos@reactos.org>
Thu, 17 Aug 2017 21:31:52 +0000 (21:31 +0000)
committerGiannis Adamopoulos <gadamopoulos@reactos.org>
Thu, 17 Aug 2017 21:31:52 +0000 (21:31 +0000)
svn path=/trunk/; revision=75600

reactos/dll/win32/uxtheme/nonclient.c

index b4c1b96..14289d9 100644 (file)
@@ -8,26 +8,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)
 {