Also fill the column for wxEVT_DATAVIEW_ITEM_ACTIVATED in wxOSX

Similar to the previous commit.

Closes https://github.com/wxWidgets/wxWidgets/pull/967
This commit is contained in:
oneeyeman1 2018-10-09 15:25:18 +02:00 committed by Vadim Zeitlin
parent aafb87b40d
commit 1a58c9c8ba
2 changed files with 2 additions and 0 deletions

View File

@ -160,6 +160,7 @@ wxOSX:
- Implement wxDataViewColumn::UnsetAsSortKey() (Daniel Kulp).
- supporting native image formst like NSImage and UIImage in wxBitmap
- native implementation for wxStaticBitmap for correct rendering of template images
- Fill column value in wxEVT_DATAVIEW_ITEM_ACTIVATED events (Igor Korot).
wxQt:

View File

@ -1657,6 +1657,7 @@ outlineView:(NSOutlineView*)outlineView
const wxDataViewItem item = wxDataViewItemFromItem([self itemAtRow:[self clickedRow]]);
wxDataViewEvent event(wxEVT_DATAVIEW_ITEM_ACTIVATED, dvc, item);
event.SetColumn( [self clickedColumn] );
dvc->GetEventHandler()->ProcessEvent(event);
}