1
0
mirror of https://github.com/cookiengineer/audacity synced 2026-02-05 19:21:59 +01:00
Files
audacity/src/widgets/Warning.h
2012-12-17 02:00:32 +00:00

29 lines
835 B
C

/**********************************************************************
Audacity: A Digital Audio Editor
Warning.h
Dominic Mazzoni
**********************************************************************/
#ifndef __AUDACITY_WARNING__
#define __AUDACITY_WARNING__
#include "../Audacity.h"
#include <wx/defs.h>
#include <wx/window.h>
/// Displays a warning dialog with a check box that says
/// "Don't show this warning again". 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.
int ShowWarningDialog(wxWindow *parent,
wxString internalDialogName,
wxString message,
bool showCancelButton = false);
#endif // __AUDACITY_WARNING__