Update demo files. A minor code cleaning.

This commit is contained in:
jean-pierre charras
2014-01-10 21:12:36 +01:00
parent 9a86def109
commit 269e88b18d
20 changed files with 20617 additions and 20110 deletions
-15
View File
@@ -477,18 +477,3 @@ bool ReplaceIllegalFileNameChars( std::string* aName )
return changed;
}
wxString RemoveTrailingZeros( const wxString& aString )
{
wxString retv = aString;
int i = retv.Length();
while( --i > 0 && retv[i] == wxChar( '0' ) )
retv.RemoveLast();
if( retv[i] == wxChar( '.' ) || retv[i] == wxChar( ',' ) )
retv.RemoveLast();
return retv;
}