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:
committed by
Vadim Zeitlin
parent
aafb87b40d
commit
1a58c9c8ba
@@ -160,6 +160,7 @@ wxOSX:
|
|||||||
- Implement wxDataViewColumn::UnsetAsSortKey() (Daniel Kulp).
|
- Implement wxDataViewColumn::UnsetAsSortKey() (Daniel Kulp).
|
||||||
- supporting native image formst like NSImage and UIImage in wxBitmap
|
- supporting native image formst like NSImage and UIImage in wxBitmap
|
||||||
- native implementation for wxStaticBitmap for correct rendering of template images
|
- native implementation for wxStaticBitmap for correct rendering of template images
|
||||||
|
- Fill column value in wxEVT_DATAVIEW_ITEM_ACTIVATED events (Igor Korot).
|
||||||
|
|
||||||
wxQt:
|
wxQt:
|
||||||
|
|
||||||
|
@@ -1657,6 +1657,7 @@ outlineView:(NSOutlineView*)outlineView
|
|||||||
|
|
||||||
const wxDataViewItem item = wxDataViewItemFromItem([self itemAtRow:[self clickedRow]]);
|
const wxDataViewItem item = wxDataViewItemFromItem([self itemAtRow:[self clickedRow]]);
|
||||||
wxDataViewEvent event(wxEVT_DATAVIEW_ITEM_ACTIVATED, dvc, item);
|
wxDataViewEvent event(wxEVT_DATAVIEW_ITEM_ACTIVATED, dvc, item);
|
||||||
|
event.SetColumn( [self clickedColumn] );
|
||||||
dvc->GetEventHandler()->ProcessEvent(event);
|
dvc->GetEventHandler()->ProcessEvent(event);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user