From: Robert Roebling Date: Fri, 19 Dec 2008 17:26:29 +0000 (+0000) Subject: Fixes #10288: wxDataViewCtrl missing selection change event X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/4a745e76b15b375c5600aefdb005f39c3f0d73b6 Fixes #10288: wxDataViewCtrl missing selection change event git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57439 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/generic/datavgen.cpp b/src/generic/datavgen.cpp index 4465439568..cbe48f53dc 100644 --- a/src/generic/datavgen.cpp +++ b/src/generic/datavgen.cpp @@ -3038,6 +3038,7 @@ void wxDataViewMainWindow::OnMouse( wxMouseEvent &event ) // select single line SelectAllRows( false ); SelectRow( m_lineSelectSingleOnUp, true ); + SendSelectionChangedEvent( GetItemByRow(m_lineSelectSingleOnUp) ); } //Process the event of user clicking the expander