From 4a745e76b15b375c5600aefdb005f39c3f0d73b6 Mon Sep 17 00:00:00 2001 From: Robert Roebling Date: Fri, 19 Dec 2008 17:26:29 +0000 Subject: [PATCH] Fixes #10288: wxDataViewCtrl missing selection change event git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57439 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/generic/datavgen.cpp | 1 + 1 file changed, 1 insertion(+) 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