tabsize = kControlSizeSmall;
}
+ m_peer = new wxMacControl() ;
verify_noerr ( CreateTabsControl( MAC_WXHWND(parent->MacGetTopLevelWindowRef()) , &bounds ,
- tabsize , tabstyle, 0, NULL, (ControlRef*) &m_macControl) );
+ tabsize , tabstyle, 0, NULL, m_peer->GetControlRefAddr() ) );
+
MacPostControlCreate(pos,size) ;
return TRUE ;