git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6237
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
// ----------------------------------------------------------------------------
// wxGridCellFloatEditor
// ----------------------------------------------------------------------------
// ----------------------------------------------------------------------------
// wxGridCellFloatEditor
// ----------------------------------------------------------------------------
{
text.Printf(_T("%ld"), table->GetValueAsLong(row, col));
}
{
text.Printf(_T("%ld"), table->GetValueAsLong(row, col));
}
- //else: leave the string empty or put 0 into it?
+ else
+ {
+ text = table->GetValue(row, col);
+ }
text.Printf(m_format, table->GetValueAsDouble(row, col));
}
text.Printf(m_format, table->GetValueAsDouble(row, col));
}
- //else: leave the string empty or put 0 into it?
+ else
+ {
+ text = table->GetValue(row, col);
+ }