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:
@@ -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]));
|
||||
|
||||
Reference in New Issue
Block a user