projects
/
dcpomatic.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Supporters update.
[dcpomatic.git]
/
src
/
wx
/
nag_dialog.h
diff --git
a/src/wx/nag_dialog.h
b/src/wx/nag_dialog.h
index 06f98d967c75766daa6bbb800c717a9c8a3b80f6..11fb907f067c4dd0e55a4a3e4b697396fb7c7b86 100644
(file)
--- a/
src/wx/nag_dialog.h
+++ b/
src/wx/nag_dialog.h
@@
-1,5
+1,5
@@
/*
/*
- Copyright (C) 2017 Carl Hetherington <cth@carlh.net>
+ Copyright (C) 2017
-2021
Carl Hetherington <cth@carlh.net>
This file is part of DCP-o-matic.
This file is part of DCP-o-matic.
@@
-18,18
+18,21
@@
*/
*/
+
#include "lib/config.h"
#include "lib/config.h"
+#include "lib/warnings.h"
+DCPOMATIC_DISABLE_WARNINGS
#include <wx/wx.h>
#include <wx/wx.h>
+DCPOMATIC_ENABLE_WARNINGS
-class wxRichTextCtrl;
class NagDialog : public wxDialog
{
public:
class NagDialog : public wxDialog
{
public:
- static
void maybe_nag (wxWindow* parent, Config::Nag nag, wxString messag
e);
+ static
bool maybe_nag (wxWindow* parent, Config::Nag nag, wxString message, bool can_cancel = fals
e);
private:
private:
- NagDialog (wxWindow* parent, Config::Nag nag, wxString message);
+ NagDialog (wxWindow* parent, Config::Nag nag, wxString message
, bool can_cancel
);
void shut_up (wxCommandEvent& ev);
wxStaticText* _text;
void shut_up (wxCommandEvent& ev);
wxStaticText* _text;