diff options
| author | Carl Hetherington <cth@carlh.net> | 2018-01-07 00:02:00 +0000 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2018-01-07 00:02:00 +0000 |
| commit | 1da6ec96a4cdb4915c394bd4c272b6bfcc2033c8 (patch) | |
| tree | f9ca86522ac72599178745e43251f29560c5d61d /src/wx/nag_dialog.h | |
| parent | 4042c59cd8a1007e0d8f1959569bf2699bdfbe8b (diff) | |
Make certificate re-creation cancellable and default nags
to not going away (#1158).
Diffstat (limited to 'src/wx/nag_dialog.h')
| -rw-r--r-- | src/wx/nag_dialog.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/wx/nag_dialog.h b/src/wx/nag_dialog.h index 06f98d967..83d681fef 100644 --- a/src/wx/nag_dialog.h +++ b/src/wx/nag_dialog.h @@ -26,10 +26,10 @@ class wxRichTextCtrl; class NagDialog : public wxDialog { public: - static void maybe_nag (wxWindow* parent, Config::Nag nag, wxString message); + static bool maybe_nag (wxWindow* parent, Config::Nag nag, wxString message, bool can_cancel = false); 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; |
