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:
@@ -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());
|
||||
|
||||
|
Reference in New Issue
Block a user