1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-11-23 17:30:17 +01:00

More use of std:: style members of wxString...

... replacing:

Length => length
Len => length
This commit is contained in:
Paul Licameli
2019-03-06 14:53:39 -05:00
parent 2db49dc1f0
commit c68e336247
38 changed files with 100 additions and 100 deletions

View File

@@ -189,7 +189,7 @@ bool Shuttle::TransferEnum( const wxString & Name, int & iValue,
wxString str = mValueString;
if( str.Left( 1 ) == wxT('"') && str.Right( 1 ) == wxT('"') )
{
str = str.Mid( 2, str.Length() - 2 );
str = str.Mid( 2, str.length() - 2 );
}
for( int i = 0; i < nChoices; i++ )
@@ -283,7 +283,7 @@ bool ShuttleCli::ExchangeWithMaster(const wxString & Name)
i=mParams.Find( wxT(" ")+Name+wxT("=") );
if( i>=0 )
{
int j=i+2+Name.Length();
int j=i+2+Name.length();
wxString terminator = wxT(' ');
if(mParams.GetChar(j) == wxT('"')) //Strings are surrounded by quotes
{
@@ -296,7 +296,7 @@ bool ShuttleCli::ExchangeWithMaster(const wxString & Name)
j++;
}
i=j;
while( j<(int)mParams.Length() && mParams.GetChar(j) != terminator )
while( j<(int)mParams.length() && mParams.GetChar(j) != terminator )
j++;
mValueString = mParams.Mid(i,j-i);
return true;