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 )