diff --git a/include/wx/propgrid/property.h b/include/wx/propgrid/property.h index fb302adb6a..2da6019650 100644 --- a/include/wx/propgrid/property.h +++ b/include/wx/propgrid/property.h @@ -2451,9 +2451,7 @@ protected: bool HasCell( unsigned int column ) const { - if ( m_cells.size() > column ) - return true; - return false; + return m_cells.size() > column; } void InitAfterAdded( wxPropertyGridPageState* pageState,