event.Skip();
}
+
// ----------------------------------------------------------------------------
// wxGridCellFloatEditor
// ----------------------------------------------------------------------------
{
text.Printf(_T("%ld"), table->GetValueAsLong(row, col));
}
- //else: leave the string empty or put 0 into it?
+ else
+ {
+ text = table->GetValue(row, col);
+ }
return text;
}
text.Printf(m_format, table->GetValueAsDouble(row, col));
}
- //else: leave the string empty or put 0 into it?
+ else
+ {
+ text = table->GetValue(row, col);
+ }
return text;
}