removed saveValue param in EndEdit()

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6236 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2000-02-23 15:58:10 +00:00
parent 8def743e8f
commit 3324d5f50f
2 changed files with 12 additions and 16 deletions

View File

@@ -513,7 +513,7 @@ void wxGridCellTextEditor::DoBeginEdit(const wxString& startValue)
Text()->SetFocus();
}
bool wxGridCellTextEditor::EndEdit(int row, int col, bool saveValue,
bool wxGridCellTextEditor::EndEdit(int row, int col,
wxGrid* grid)
{
wxASSERT_MSG(m_control,
@@ -648,7 +648,7 @@ void wxGridCellNumberEditor::BeginEdit(int row, int col, wxGrid* grid)
}
}
bool wxGridCellNumberEditor::EndEdit(int row, int col, bool saveValue,
bool wxGridCellNumberEditor::EndEdit(int row, int col,
wxGrid* grid)
{
bool changed;
@@ -733,7 +733,7 @@ void wxGridCellFloatEditor::BeginEdit(int row, int col, wxGrid* grid)
DoBeginEdit(GetString());
}
bool wxGridCellFloatEditor::EndEdit(int row, int col, bool saveValue,
bool wxGridCellFloatEditor::EndEdit(int row, int col,
wxGrid* grid)
{
double value;
@@ -824,7 +824,6 @@ void wxGridCellBoolEditor::BeginEdit(int row, int col, wxGrid* grid)
}
bool wxGridCellBoolEditor::EndEdit(int row, int col,
bool saveValue,
wxGrid* grid)
{
wxASSERT_MSG(m_control,
@@ -925,7 +924,6 @@ void wxGridCellChoiceEditor::BeginEdit(int row, int col, wxGrid* grid)
}
bool wxGridCellChoiceEditor::EndEdit(int row, int col,
bool saveValue,
wxGrid* grid)
{
wxString value = Combo()->GetValue();
@@ -5411,7 +5409,7 @@ void wxGrid::SaveEditControlValue()
wxGridCellAttr* attr = GetCellAttr(row, col);
wxGridCellEditor* editor = attr->GetEditor(this, row, col);
bool changed = editor->EndEdit(row, col, TRUE, this);
bool changed = editor->EndEdit(row, col, this);
attr->DecRef();