associate the outline view with the impl, fixes #13748

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@74109 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Stefan Csomor
2013-06-04 16:18:53 +00:00
parent e17d84e1b2
commit 083c9c2088

View File

@@ -1964,6 +1964,9 @@ wxCocoaDataViewControl::wxCocoaDataViewControl(wxWindow* peer,
[scrollview setAutohidesScrollers:YES];
[scrollview setDocumentView:m_OutlineView];
// we cannot call InstallHandler(m_OutlineView) here, because we are handling
// our action:s ourselves, only associate the view with this impl
Associate(m_OutlineView,this);
// initialize the native control itself too
InitOutlineView(style);
}