Audacity 3.2.0
Warning.h
Go to the documentation of this file.
1/**********************************************************************
2
3 Audacity: A Digital Audio Editor
4
5 Warning.h
6
7 Dominic Mazzoni
8
9**********************************************************************/
10
11#ifndef __AUDACITY_WARNING__
12#define __AUDACITY_WARNING__
13
14
15
16#include <wx/defs.h>
17class wxString;
18class wxWindow;
20
21// "Don't show this warning again"
22AUDACITY_DLL_API
24
29AUDACITY_DLL_API
30int ShowWarningDialog(wxWindow *parent,
31 const wxString &internalDialogName,
32 const TranslatableString &message,
33 bool showCancelButton = false,
34 // This message appears by the checkbox:
36
37#endif // __AUDACITY_WARNING__
AUDACITY_DLL_API int ShowWarningDialog(wxWindow *parent, const wxString &internalDialogName, const TranslatableString &message, bool showCancelButton=false, const TranslatableString &footer=DefaultWarningFooter())
Definition: Warning.cpp:90
AUDACITY_DLL_API const TranslatableString & DefaultWarningFooter()
Definition: Warning.cpp:51
Holds a msgid for the translation catalog; may also bind format arguments.