diff options
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; |
