Merge pull request #11704 from brenca/fix-10678
Remove WS_EX_COMPOSITED style from window (master)
This commit is contained in:
commit
b9c0bab8f1
1 changed files with 0 additions and 3 deletions
|
@ -302,9 +302,6 @@ NativeWindowViews::NativeWindowViews(
|
||||||
}
|
}
|
||||||
|
|
||||||
LONG ex_style = ::GetWindowLong(GetAcceleratedWidget(), GWL_EXSTYLE);
|
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")
|
if (window_type == "toolbar")
|
||||||
ex_style |= WS_EX_TOOLWINDOW;
|
ex_style |= WS_EX_TOOLWINDOW;
|
||||||
::SetWindowLong(GetAcceleratedWidget(), GWL_EXSTYLE, ex_style);
|
::SetWindowLong(GetAcceleratedWidget(), GWL_EXSTYLE, ex_style);
|
||||||
|
|
Loading…
Reference in a new issue