pass ApplyEdit() arguments to EndEdit() too for better backwards compatibility (closes #10544)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59365 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -5976,7 +5976,7 @@ void wxGrid::SaveEditControlValue()
|
||||
wxGridCellEditor* editor = attr->GetEditor(this, row, col);
|
||||
|
||||
wxString newval;
|
||||
bool changed = editor->EndEdit(oldval, &newval);
|
||||
bool changed = editor->EndEdit(row, col, this, oldval, &newval);
|
||||
|
||||
if ( changed && SendEvent(wxEVT_GRID_CELL_CHANGING, newval) != -1 )
|
||||
{
|
||||
|
Reference in New Issue
Block a user