Remove WS_EX_COMPOSITED style from window
This commit is contained in:
parent
39554566cc
commit
50690d25f1
1 changed files with 0 additions and 3 deletions
|
@ -302,9 +302,6 @@ NativeWindowViews::NativeWindowViews(
|
|||
}
|
||||
|
||||
LONG ex_style = ::GetWindowLong(GetAcceleratedWidget(), GWL_EXSTYLE);
|
||||
// Window without thick frame has to have WS_EX_COMPOSITED style.
|
||||
if (!thick_frame_)
|
||||
ex_style |= WS_EX_COMPOSITED;
|
||||
if (window_type == "toolbar")
|
||||
ex_style |= WS_EX_TOOLWINDOW;
|
||||
::SetWindowLong(GetAcceleratedWidget(), GWL_EXSTYLE, ex_style);
|
||||
|
|
Loading…
Reference in a new issue