compile fix for BC++

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3870 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin 1999-10-07 15:54:58 +00:00
parent 3976f6a846
commit 2b37dc19c5

View File

@ -2048,7 +2048,10 @@ void wxGrid::SetEditControlValue( const wxString& value )
if ( m_table ) if ( m_table )
{ {
wxString s; wxString s;
s = ( value == wxEmptyString ? GetCellValue(m_currentCellCoords) : value ); if ( !value )
s = GetCellValue(m_currentCellCoords);
else
s = value;
if ( IsTopEditControlEnabled() ) if ( IsTopEditControlEnabled() )
{ {