From: Julian Smart Date: Fri, 24 Mar 2006 13:49:37 +0000 (+0000) Subject: Commented out call that breaks metal style setting before Create X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/9dc1d18069c519c807c2476a837e710b5ef932c6?ds=inline 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 --- 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 )