]> git.saurik.com Git - wxWidgets.git/blobdiff - src/generic/datavgen.cpp
no real change: just rename "near" into "onNearPart" (MSVC doesn't like 'near' as...
[wxWidgets.git] / src / generic / datavgen.cpp
index abb561ae6e70adee155a0e854fb191a072d7500a..9ae974c053c3918d3ae3a3333360209bc3ebadc4 100644 (file)
@@ -3694,7 +3694,7 @@ void wxDataViewMainWindow::OnMouse( wxMouseEvent &event )
             {
                 ChangeCurrentRow(current);
                 ReverseRowSelection(m_currentRow);
-                SendSelectionChangedEvent(GetItemByRow(m_selection[0]) );
+                SendSelectionChangedEvent(GetItemByRow(m_currentRow));
             }
             else if (event.ShiftDown())
             {