diff --git a/src/generic/grideditors.cpp b/src/generic/grideditors.cpp index 288b080b2a..3b5b2b1e2a 100644 --- a/src/generic/grideditors.cpp +++ b/src/generic/grideditors.cpp @@ -1430,6 +1430,9 @@ void wxGridCellBoolEditor::SetValueFromGrid(int row, int col, wxGrid* grid) // this risks to be very surprising for the user code, let them // know about it wxFAIL_MSG( wxT("invalid value for a cell with bool editor!") ); + + // Still need to initialize it to something. + m_value = false; } } }