summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--widgetfactory.cpp10
1 files changed, 0 insertions, 10 deletions
diff --git a/widgetfactory.cpp b/widgetfactory.cpp
index 1215e10..008fdb4 100644
--- a/widgetfactory.cpp
+++ b/widgetfactory.cpp
@@ -21,11 +21,6 @@ enum {
ID__MAX
};
-static HBRUSH red;
-static HBRUSH green;
-static HBRUSH blue;
-static HBRUSH white;
-
BOOL (WINAPI *fnGradientFill)(HDC, PTRIVERTEX, ULONG, PVOID, ULONG, ULONG) = NULL;
enum PanelBackgroundMode {
@@ -734,11 +729,6 @@ WinMain
ALF_SetDpiAwareness(ALF_DPI_AWARENESS_PER_MONITOR_AWARE_V2);
- red = CreateSolidBrush(RGB(255,0,0));
- green = CreateSolidBrush(RGB(0,255,0));
- blue = CreateSolidBrush(RGB(0,0,255));
- white = CreateSolidBrush(RGB(255,255,255));
-
if (LOBYTE(LOWORD(GetVersion())) >= 4) {
HMODULE hMsimg32 = LoadLibraryA("msimg32.dll");
if (hMsimg32) {