From 9dc1d18069c519c807c2476a837e710b5ef932c6 Mon Sep 17 00:00:00 2001 From: Julian Smart Date: Fri, 24 Mar 2006 13:49:37 +0000 Subject: [PATCH] Commented out call that breaks metal style setting before Create git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38346 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/mac/carbon/toplevel.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/mac/carbon/toplevel.cpp b/src/mac/carbon/toplevel.cpp index e176c02796..a665917aed 100644 --- a/src/mac/carbon/toplevel.cpp +++ b/src/mac/carbon/toplevel.cpp @@ -1219,7 +1219,9 @@ void wxTopLevelWindowMac::MacCreateRealWindow( // the root control level handler MacInstallEventHandler( (WXWidget) m_peer->GetControlRef() ) ; -#if TARGET_API_MAC_OSX + // Causes the inner part of the window not to be metal + // if the style is used before window creation. +#if 0 // TARGET_API_MAC_OSX if ( m_macUsesCompositing && m_macWindow != NULL ) { if ( GetExtraStyle() & wxFRAME_EX_METAL ) -- 2.49.0