]> git.saurik.com Git - wxWidgets.git/blobdiff - src/generic/grid.cpp
close the associated frame if the view is deleted directly to avoid leaving zombie...
[wxWidgets.git] / src / generic / grid.cpp
index 91dce5ee8aa6ec6d6893a0da68362d7b85daa59e..d7ec66fcb2981b07e435f1bc010314c812277c49 100644 (file)
@@ -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 )
         {