From: Stefan Csomor Date: Tue, 4 Jun 2013 16:18:53 +0000 (+0000) Subject: associate the outline view with the impl, fixes #13748 X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/083c9c2088ab2ecf90093e5ed8f24faf73e2adf7?ds=sidebyside 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 --- diff --git a/src/osx/cocoa/dataview.mm b/src/osx/cocoa/dataview.mm index 829b5dc5b0..465305fbbc 100644 --- a/src/osx/cocoa/dataview.mm +++ b/src/osx/cocoa/dataview.mm @@ -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); }