#if wxUSE_GUI
-#ifndef WX_PRECOMP
- #if TARGET_API_MAC_OSX
- #include "wx/toplevel.h"
- #endif
-#endif
-
+#include "wx/toplevel.h"
#include "wx/dc.h"
#ifndef __DARWIN__
WindowRef tlwref = GetControlOwner( theControl ) ;
wxTopLevelWindowMac* tlwwx = wxFindWinFromMacWindow( tlwref ) ;
- if ( tlwwx != NULL && tlwwx->MacUsesCompositing() )
+ if ( tlwwx != NULL )
{
ControlRef rootControl = tlwwx->GetPeer()->GetControlRef() ;
HIPoint hiPoint = CGPointMake( 0 , 0 ) ;