mirror of
https://github.com/wxWidgets/wxWidgets.git
synced 2026-09-22 22:24:56 +08:00
Revert "Don't try to clear WS_EX_COMPOSITED for TLWs"
This reverts commit 3259d1e2d9.
This commit is contained in:
+2
-4
@@ -1654,12 +1654,10 @@ void wxWindowMSW::MSWDisableComposited()
|
||||
{
|
||||
for ( auto win = this; win; win = win->GetParent() )
|
||||
{
|
||||
// We never set WS_EX_COMPOSITED on TLWs, and we shouldn't recurse into
|
||||
// different windows, so we can stop here.
|
||||
wxMSWWinExStyleUpdater(GetHwndOf(win)).TurnOff(WS_EX_COMPOSITED);
|
||||
|
||||
if ( win->IsTopLevel() )
|
||||
break;
|
||||
|
||||
wxMSWWinExStyleUpdater(GetHwndOf(win)).TurnOff(WS_EX_COMPOSITED);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user