Commit f00931a5 authored by Olivier Teulière's avatar Olivier Teulière

* skins2: use black as the "flickering color", when resizing on windows :)

parent cac0b715
...@@ -105,7 +105,7 @@ bool Win32Factory::init() ...@@ -105,7 +105,7 @@ bool Win32Factory::init()
skinWindowClass.lpszMenuName = NULL; skinWindowClass.lpszMenuName = NULL;
skinWindowClass.cbClsExtra = 0; skinWindowClass.cbClsExtra = 0;
skinWindowClass.cbWndExtra = 0; skinWindowClass.cbWndExtra = 0;
skinWindowClass.hbrBackground = HBRUSH (COLOR_WINDOW); skinWindowClass.hbrBackground = NULL;
skinWindowClass.hCursor = LoadCursor( NULL , IDC_ARROW ); skinWindowClass.hCursor = LoadCursor( NULL , IDC_ARROW );
skinWindowClass.hIcon = LoadIcon( m_hInst, "VLC_ICON" ); skinWindowClass.hIcon = LoadIcon( m_hInst, "VLC_ICON" );
skinWindowClass.hInstance = m_hInst; skinWindowClass.hInstance = m_hInst;
......
...@@ -57,7 +57,8 @@ Win32Window::Win32Window( intf_thread_t *pIntf, GenericWindow &rWindow, ...@@ -57,7 +57,8 @@ Win32Window::Win32Window( intf_thread_t *pIntf, GenericWindow &rWindow,
{ {
// Normal window // Normal window
m_hWnd = CreateWindowEx( WS_EX_TOOLWINDOW, "SkinWindowClass", m_hWnd = CreateWindowEx( WS_EX_TOOLWINDOW, "SkinWindowClass",
"default name", WS_POPUP, CW_USEDEFAULT, CW_USEDEFAULT, "default name", WS_POPUP | WS_CLIPCHILDREN,
CW_USEDEFAULT, CW_USEDEFAULT,
CW_USEDEFAULT, CW_USEDEFAULT, hParentWindow, 0, hInst, NULL ); CW_USEDEFAULT, CW_USEDEFAULT, hParentWindow, 0, hInst, NULL );
} }
......
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