mirror of
https://github.com/reactos/reactos.git
synced 2025-02-22 16:36:33 +00:00
[UXTHEME] -Remove some dead code
svn path=/trunk/; revision=75600
This commit is contained in:
parent
18c780f243
commit
c312beab6a
1 changed files with 0 additions and 20 deletions
|
@ -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)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue