adding a peer pointing back to wxWindow

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32315 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Stefan Csomor
2005-02-23 15:46:03 +00:00
parent e2f865d857
commit b905d6cc08
20 changed files with 38 additions and 29 deletions

View File

@@ -129,7 +129,7 @@ bool wxNotebook::Create(wxWindow *parent,
tabsize = kControlSizeSmall;
}
m_peer = new wxMacControl() ;
m_peer = new wxMacControl(this) ;
verify_noerr ( CreateTabsControl( MAC_WXHWND(parent->MacGetTopLevelWindowRef()) , &bounds ,
tabsize , tabstyle, 0, NULL, m_peer->GetControlRefAddr() ) );