Redundant call to GetItemByRow

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49273 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robert Roebling
2007-10-20 20:11:30 +00:00
parent 52e750fc75
commit 45c156e0ff

View File

@@ -3444,7 +3444,7 @@ void wxDataViewMainWindow::OnMouse( wxMouseEvent &event )
{
wxWindow *parent = GetParent();
wxDataViewEvent le(wxEVT_COMMAND_DATAVIEW_ITEM_ACTIVATED, parent->GetId());
le.SetItem( GetItemByRow(current) );
le.SetItem( item );
le.SetEventObject(parent);
le.SetModel(GetOwner()->GetModel());