git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27746
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
// the content view, so we have to retrieve it explicitely
HIViewFindByID( HIViewGetRoot( (WindowRef) m_macWindow ) , kHIViewWindowContentID ,
*m_peer ) ;
// the content view, so we have to retrieve it explicitely
HIViewFindByID( HIViewGetRoot( (WindowRef) m_macWindow ) , kHIViewWindowContentID ,
*m_peer ) ;
+ if ( !m_peer->Ok() )
+ {
+ // compatibility mode fallback
+ GetRootControl( (WindowRef) m_macWindow , *m_peer ) ;
+ }
#else
::CreateRootControl( (WindowRef)m_macWindow , *m_peer ) ;
#endif
#else
::CreateRootControl( (WindowRef)m_macWindow , *m_peer ) ;
#endif