// ----------------------------------------------------------------------------
// the default values for GetValue()
-wxString wxGridCellBoolEditor::ms_stringValues[2] = { _T("1"), _T("") };
+wxString wxGridCellBoolEditor::ms_stringValues[2] = { _T(""), _T("1") };
void wxGridCellBoolEditor::Create(wxWindow* parent,
wxWindowID id,
// with dangling view pointer
if ( m_ownTable )
delete m_table;
- else if ( m_table->GetView() == this )
+ else if ( m_table && m_table->GetView() == this )
m_table->SetView(NULL);
delete m_typeRegistry;