mirror of
https://github.com/reactos/reactos.git
synced 2024-09-10 21:04:26 +00:00
[UXTHEME] -Remove some dead code
svn path=/trunk/; revision=75600
This commit is contained in:
parent
18c780f243
commit
c312beab6a
|
@ -8,26 +8,6 @@
|
||||||
|
|
||||||
#include "uxthemep.h"
|
#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
|
static BOOL
|
||||||
IsWindowActive(HWND hWnd, DWORD ExStyle)
|
IsWindowActive(HWND hWnd, DWORD ExStyle)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue