mirror of
https://github.com/cookiengineer/audacity
synced 2025-11-23 09:20:16 +01:00
More std:: style for wxString and wxArrayString...
... Replacing: Insert => insert RemoveAt => erase Remove => erase IsSameAs => operator == or operator != (but only when second argument was true or default)
This commit is contained in:
@@ -194,7 +194,7 @@ bool Shuttle::TransferEnum( const wxString & Name, int & iValue,
|
||||
|
||||
for( int i = 0; i < nChoices; i++ )
|
||||
{
|
||||
if( str.IsSameAs( pFirstStr[i] ))
|
||||
if( str == pFirstStr[i] )
|
||||
{
|
||||
iValue = i;
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user