From fdb45ab7e968e56c2008565bb89b48818422b280 Mon Sep 17 00:00:00 2001 From: Robert Roebling Date: Sat, 7 Mar 2009 13:46:28 +0000 Subject: [PATCH] Report first selected item in selection change event git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59403 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/osx/carbon/databrow.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/osx/carbon/databrow.cpp b/src/osx/carbon/databrow.cpp index 0c30b68a0f..4be1a6d40e 100644 --- a/src/osx/carbon/databrow.cpp +++ b/src/osx/carbon/databrow.cpp @@ -972,7 +972,7 @@ void wxMacDataViewDataBrowserListViewControl::DataBrowserItemNotificationProc(Da { // initialize wxWidget event: wxDataViewEvent dataViewEvent(wxEVT_COMMAND_DATAVIEW_SELECTION_CHANGED,dataViewCtrlPtr->GetId()); // variable definition - + dataViewEvent.SetItem( dataViewCtrlPtr->GetSelection() ); dataViewEvent.SetEventObject(dataViewCtrlPtr); dataViewEvent.SetModel (dataViewCtrlPtr->GetModel()); // finally send the equivalent wxWidget event: