Fixes #10288: wxDataViewCtrl missing selection change event

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57439 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robert Roebling 2008-12-19 17:26:29 +00:00
parent 2af62e6641
commit 4a745e76b1

View File

@ -3038,6 +3038,7 @@ void wxDataViewMainWindow::OnMouse( wxMouseEvent &event )
// select single line // select single line
SelectAllRows( false ); SelectAllRows( false );
SelectRow( m_lineSelectSingleOnUp, true ); SelectRow( m_lineSelectSingleOnUp, true );
SendSelectionChangedEvent( GetItemByRow(m_lineSelectSingleOnUp) );
} }
//Process the event of user clicking the expander //Process the event of user clicking the expander