From: Vadim Zeitlin Date: Thu, 7 Oct 1999 15:54:58 +0000 (+0000) Subject: compile fix for BC++ X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/2b37dc19c517041c6dd075920503e6947ec99421 compile fix for BC++ git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3870 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/generic/grid.cpp b/src/generic/grid.cpp index c69d269430..2af40dc9c8 100644 --- a/src/generic/grid.cpp +++ b/src/generic/grid.cpp @@ -2048,7 +2048,10 @@ void wxGrid::SetEditControlValue( const wxString& value ) if ( m_table ) { wxString s; - s = ( value == wxEmptyString ? GetCellValue(m_currentCellCoords) : value ); + if ( !value ) + s = GetCellValue(m_currentCellCoords); + else + s = value; if ( IsTopEditControlEnabled() ) {