1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-10-21 14:02:57 +02:00

Make RecordingPrefs.cpp independent of Warning

This commit is contained in:
Paul Licameli
2019-07-13 16:33:58 -04:00
parent f420122001
commit c98ab0aec9
5 changed files with 10 additions and 12 deletions

View File

@@ -109,8 +109,3 @@ int ShowWarningDialog(wxWindow *parent,
gPrefs->Flush();
return wxID_OK;
}
wxString WarningDialogKey(const wxString &internalDialogName)
{
return wxT("/Warnings/") + internalDialogName;
}

View File

@@ -30,9 +30,4 @@ int ShowWarningDialog(wxWindow *parent,
// This message appears by the checkbox:
const wxString &footer = DefaultWarningFooter());
/// Return the config file key associated with a warning dialog identified
/// by internalDialogName. When the box is checked, the value at the key
/// becomes false.
wxString WarningDialogKey(const wxString &internalDialogName);
#endif // __AUDACITY_WARNING__