Commit cc5077e6 authored by Sergey Radionov's avatar Sergey Radionov

npapi win32: set window color to black when no video playing.

parent 5776eb63
...@@ -59,7 +59,7 @@ void VLCHolderWnd::RegisterWndClassName(HINSTANCE hInstance) ...@@ -59,7 +59,7 @@ void VLCHolderWnd::RegisterWndClassName(HINSTANCE hInstance)
wClass.hInstance = _hinstance; wClass.hInstance = _hinstance;
wClass.hIcon = NULL; wClass.hIcon = NULL;
wClass.hCursor = LoadCursor(NULL, IDC_ARROW); wClass.hCursor = LoadCursor(NULL, IDC_ARROW);
wClass.hbrBackground = (HBRUSH)(COLOR_3DFACE+1); wClass.hbrBackground = (HBRUSH)GetStockObject(BLACK_BRUSH);
wClass.lpszMenuName = NULL; wClass.lpszMenuName = NULL;
wClass.lpszClassName = getClassName(); wClass.lpszClassName = getClassName();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment