Audacity 3.2.0
|
#include <wx/defs.h>
Go to the source code of this file.
Functions | |
AUDACITY_DLL_API const TranslatableString & | DefaultWarningFooter () |
AUDACITY_DLL_API int | ShowWarningDialog (wxWindow *parent, const wxString &internalDialogName, const TranslatableString &message, bool showCancelButton=false, const TranslatableString &footer=DefaultWarningFooter()) |
AUDACITY_DLL_API const TranslatableString & DefaultWarningFooter | ( | ) |
Definition at line 51 of file Warning.cpp.
References XXO().
AUDACITY_DLL_API int ShowWarningDialog | ( | wxWindow * | parent, |
const wxString & | internalDialogName, | ||
const TranslatableString & | message, | ||
bool | showCancelButton = false , |
||
const TranslatableString & | footer = DefaultWarningFooter() |
||
) |
Displays a warning dialog with a check box. If the user checks the box, the internalDialogName is noted in the preferences. The internalDialogName is never seen by the user; it should be unique to each message.
Definition at line 90 of file Warning.cpp.
References audacity::BasicSettings::Flush(), gPrefs, key, audacity::BasicSettings::Read(), WarningDialogKey(), and audacity::BasicSettings::Write().
Referenced by anonymous_namespace{DropoutDetector.cpp}::DropoutSubscription::DropoutSubscription().