From 19a6664498a19f6afd36673eee731524bb5fc285 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Sun, 28 Feb 2016 02:50:53 +0100 Subject: [PATCH] wxOSX compilation fix after wxDataViewRendererBase refactoring Restore the variable declaration accidentally removed in the changes of 235e8ebd1a28655232d0c38f0f664e4c8de4016c --- src/osx/cocoa/dataview.mm | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/osx/cocoa/dataview.mm b/src/osx/cocoa/dataview.mm index 0690d4456f..2ae7076d14 100644 --- a/src/osx/cocoa/dataview.mm +++ b/src/osx/cocoa/dataview.mm @@ -1886,6 +1886,9 @@ outlineView:(NSOutlineView*)outlineView wxDataViewColumn* const col([static_cast(tableColumn) getColumnPointer]); + wxDataViewCtrl* const dvc = implementation->GetDataViewCtrl(); + + // stop editing of a custom item first (if necessary) dvc->FinishCustomItemEditing();