From 0f6698f3b9f95552b2ad4a9dcd271941303067cd Mon Sep 17 00:00:00 2001 From: Jonas Kümmerlin Date: Tue, 14 Apr 2020 17:12:52 +0200 Subject: use Win95 fonts and colors even when running on Win32s/NT3.51 --- alf/alfspacer.cpp | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'alf/alfspacer.cpp') diff --git a/alf/alfspacer.cpp b/alf/alfspacer.cpp index 1b9278d..7c0f776 100644 --- a/alf/alfspacer.cpp +++ b/alf/alfspacer.cpp @@ -13,12 +13,7 @@ ALF_RegisterSpacerClass(void) cls.hInstance = ALF_HINSTANCE; cls.hCursor = LoadCursor(NULL, (LPTSTR)IDC_ARROW); - if (LOBYTE(LOWORD(GetVersion())) >= 4) { - cls.hbrBackground = (HBRUSH)(COLOR_BTNFACE+1); - } else { - // NT 3.x has white dialog backgrounds - cls.hbrBackground = (HBRUSH)(COLOR_WINDOW+1); - } + cls.hbrBackground = (HBRUSH)(COLOR_BTNFACE+1); cls.lpszClassName = classNameBuf; cls.cbWndExtra = sizeof(void*); cls.lpfnWndProc = DefWindowProc; -- cgit v1.2.3