More wxSing

This commit is contained in:
Marek Roszko
2023-01-16 23:14:38 -05:00
parent 358a05a2c8
commit d2c0f5fc2a
63 changed files with 240 additions and 238 deletions
+3 -3
View File
@@ -565,7 +565,7 @@ wxString FIELDS_GRID_TABLE<T>::GetValue( int aRow, int aCol )
}
else
{
wxFAIL_MSG( "Unhandled field owner type." );
wxFAIL_MSG( wxS( "Unhandled field owner type." ) );
return field.GetName( false );
}
@@ -913,11 +913,11 @@ wxString FIELDS_GRID_TABLE<T>::StringFromBool( bool aValue ) const
template <class T>
bool FIELDS_GRID_TABLE<T>::BoolFromString( wxString aValue ) const
{
if( aValue == "1" )
if( aValue == wxS( "1" ) )
{
return true;
}
else if( aValue == "0" )
else if( aValue == wxS( "0" ) )
{
return false;
}