introduction of m_peer
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27610 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -56,8 +56,10 @@ bool wxTabCtrl::Create(wxWindow *parent, wxWindowID id, const wxPoint& pos, cons
|
||||
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 ) );
|
||||
|
||||
|
||||
MacPostControlCreate(pos,size) ;
|
||||
return TRUE ;
|
||||
|
||||
Reference in New Issue
Block a user