1
0
mirror of https://github.com/cookiengineer/audacity synced 2026-03-11 17:05:26 +01:00

Change virtual function interface of PrefsPanel

This commit is contained in:
Paul Licameli
2017-06-25 10:57:26 -04:00
parent aa924b54a9
commit 48202284b2
46 changed files with 55 additions and 51 deletions

View File

@@ -688,7 +688,7 @@ void KeyConfigPrefs::OnViewBy(wxCommandEvent & e)
mFilter->SetName(wxStripMenuCodes(mFilterLabel->GetLabel()));
}
bool KeyConfigPrefs::Apply()
bool KeyConfigPrefs::Commit()
{
// On the Mac, preferences may be changed without any active
// projects. This means that the CommandManager isn't availabe
@@ -1233,7 +1233,7 @@ void KeyConfigPrefs::OnItemSelected(wxListEvent & e)
mKey->AppendText(item.GetText());
}
bool KeyConfigPrefs::Apply()
bool KeyConfigPrefs::Commit()
{
for (size_t i = 0; i < mNames.GetCount(); i++) {
// wxString dkey = KeyStringNormalize(mManager->GetDefaultKeyFromName(mNames[i]));