]> git.saurik.com Git - wxWidgets.git/commitdiff
associate the outline view with the impl, fixes #13748
authorStefan Csomor <csomor@advancedconcepts.ch>
Tue, 4 Jun 2013 16:18:53 +0000 (16:18 +0000)
committerStefan Csomor <csomor@advancedconcepts.ch>
Tue, 4 Jun 2013 16:18:53 +0000 (16:18 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@74109 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/osx/cocoa/dataview.mm

index 829b5dc5b0ec8127edbf490a26d4c01d8b0a5633..465305fbbc8f8ad632db33979733b73eae287a75 100644 (file)
@@ -1964,6 +1964,9 @@ wxCocoaDataViewControl::wxCocoaDataViewControl(wxWindow* peer,
     [scrollview setAutohidesScrollers:YES];
     [scrollview setDocumentView:m_OutlineView];
 
     [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);
 }
     // initialize the native control itself too
     InitOutlineView(style);
 }