Use wxString::empty() instead of comparing to wxEmptyString

This commit is contained in:
Paul Cornett
2018-05-11 10:22:12 -07:00
parent b3d7a631c0
commit ff215a4349

View File

@@ -183,7 +183,7 @@ void wxGridCellEditorEvtHandler::OnChar(wxKeyEvent& event)
int textWidth = 0;
wxString value = m_grid->GetCellValue(row, col);
if ( wxEmptyString != value )
if (!value.empty())
{
// get width of cell CONTENTS (text)
int y;