Skip to content

Commit 14e264f

Browse files
authored
Update window_w32.cpp
1 parent 969b550 commit 14e264f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

modules/highgui/src/window_w32.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -250,13 +250,13 @@ CV_IMPL int cvInitSystem( int, char** )
250250
wndc.lpszMenuName = highGUIclassName;
251251
wndc.hIcon = LoadIcon(0, IDI_APPLICATION);
252252
wndc.hCursor = (HCURSOR)LoadCursor(0, (LPSTR)(size_t)IDC_CROSS );
253-
wndc.hbrBackground = (HBRUSH)GetStockObject(GRAY_BRUSH);
253+
wndc.hbrBackground = (HBRUSH)GetStockObject(DKGRAY_BRUSH);
254254

255255
RegisterClass(&wndc);
256256

257257
wndc.lpszClassName = mainHighGUIclassName;
258258
wndc.lpszMenuName = mainHighGUIclassName;
259-
wndc.hbrBackground = (HBRUSH)GetStockObject(GRAY_BRUSH);
259+
wndc.hbrBackground = (HBRUSH)GetStockObject(DKGRAY_BRUSH);
260260
wndc.lpfnWndProc = MainWindowProc;
261261

262262
RegisterClass(&wndc);

0 commit comments

Comments
 (0)