Merge pull request #18458 from sturkmen72:Update_window_w32_cpp

pull/18497/head^2
Alexander Alekhin 4 years ago
commit 1ddd61f98a
  1. 4
      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);

Loading…
Cancel
Save