1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-11-21 08:27:13 +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

@@ -1756,7 +1756,7 @@ bool AudacityApp::InitTempDir()
wxString temp = wxT("");
#ifdef __WXGTK__
if (tempFromPrefs.Length() > 0 && tempFromPrefs[0] != wxT('/'))
if (tempFromPrefs.length() > 0 && tempFromPrefs[0] != wxT('/'))
tempFromPrefs = wxT("");
#endif
@@ -1940,7 +1940,7 @@ bool AudacityApp::CreateSingleInstanceChecker(const wxString &dir)
for (size_t i = 0, cnt = filenames.size(); i < cnt; i++)
{
const wxString param = filenames[i];
sock->WriteMsg((const wxChar *) param, (param.Len() + 1) * sizeof(wxChar));
sock->WriteMsg((const wxChar *) param, (param.length() + 1) * sizeof(wxChar));
}
}
else