Audacity
3.2.0
libraries
lib-wx-wrappers
AudacityDontAskAgainMessageDialog.h
Go to the documentation of this file.
1
/**********************************************************************
2
3
Audacity: A Digital Audio Editor
4
5
AudacityDontAskAgainMessageDialog.h
6
7
A yes-no dialog with a don't-ask-again checkbox.
8
9
**********************************************************************/
10
11
#pragma once
12
13
#include "
wxPanelWrapper.h
"
14
15
class
WX_WRAPPERS_API
AudacityDontAskAgainMessageDialog
:
public
wxDialogWrapper
16
{
17
public
:
18
AudacityDontAskAgainMessageDialog
(
19
wxWindow* parent,
const
TranslatableString
& caption,
20
const
TranslatableString
& message);
21
22
bool
ShowDialog();
23
bool
IsChecked()
const
;
24
25
private
:
26
DECLARE_EVENT_TABLE
();
27
28
void
OnCheckBoxEvent(wxCommandEvent& evt);
29
void
OnClose
(wxCloseEvent& event);
30
31
bool
mChecked =
false
;
32
};
AudacityDontAskAgainMessageDialog
Definition:
AudacityDontAskAgainMessageDialog.h:16
AudacityDontAskAgainMessageDialog::DECLARE_EVENT_TABLE
DECLARE_EVENT_TABLE()
TranslatableString
Holds a msgid for the translation catalog; may also bind format arguments.
Definition:
TranslatableString.h:32
wxDialogWrapper
Definition:
wxPanelWrapper.h:80
anonymous_namespace{FileMenus.cpp}::OnClose
void OnClose(const CommandContext &context)
Definition:
FileMenus.cpp:241
wxPanelWrapper.h
Generated by
1.9.3