diff options
| author | Jonas Kümmerlin <jonas@kuemmerlin.eu> | 2020-04-14 17:12:52 +0200 |
|---|---|---|
| committer | Jonas Kümmerlin <jonas@kuemmerlin.eu> | 2020-04-14 17:12:52 +0200 |
| commit | 0f6698f3b9f95552b2ad4a9dcd271941303067cd (patch) | |
| tree | b5f68af0ecb6c1fe7d26cf6ea0992f9324f01b76 /alf/alfspacer.cpp | |
| parent | 0948993ec9e08e170d1d22f2c7176b00bd987103 (diff) | |
use Win95 fonts and colors even when running on Win32s/NT3.51
Diffstat (limited to 'alf/alfspacer.cpp')
| -rw-r--r-- | alf/alfspacer.cpp | 7 |
1 files changed, 1 insertions, 6 deletions
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; |
