From 14e264f646dc195ba79662cd0082be3dff592cb2 Mon Sep 17 00:00:00 2001 From: Suleyman TURKMEN Date: Tue, 29 Sep 2020 21:50:06 +0300 Subject: [PATCH] Update window_w32.cpp --- modules/highgui/src/window_w32.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/highgui/src/window_w32.cpp b/modules/highgui/src/window_w32.cpp index 28dbdc8569..b19f736680 100644 --- a/modules/highgui/src/window_w32.cpp +++ b/modules/highgui/src/window_w32.cpp @@ -250,13 +250,13 @@ CV_IMPL int cvInitSystem( int, char** ) wndc.lpszMenuName = highGUIclassName; wndc.hIcon = LoadIcon(0, IDI_APPLICATION); wndc.hCursor = (HCURSOR)LoadCursor(0, (LPSTR)(size_t)IDC_CROSS ); - wndc.hbrBackground = (HBRUSH)GetStockObject(GRAY_BRUSH); + wndc.hbrBackground = (HBRUSH)GetStockObject(DKGRAY_BRUSH); RegisterClass(&wndc); wndc.lpszClassName = mainHighGUIclassName; wndc.lpszMenuName = mainHighGUIclassName; - wndc.hbrBackground = (HBRUSH)GetStockObject(GRAY_BRUSH); + wndc.hbrBackground = (HBRUSH)GetStockObject(DKGRAY_BRUSH); wndc.lpfnWndProc = MainWindowProc; RegisterClass(&wndc);