Audacity 3.2.0
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
16{
17public:
19 wxWindow* parent, const TranslatableString& caption,
20 const TranslatableString& message);
21
22 bool ShowDialog();
23 bool IsChecked() const;
24
25private:
27
28 void OnCheckBoxEvent(wxCommandEvent& evt);
29 void OnClose(wxCloseEvent& event);
30
31 bool mChecked = false;
32};
Holds a msgid for the translation catalog; may also bind format arguments.
void OnClose(const CommandContext &context)
Definition: FileMenus.cpp:243