diff options
Diffstat (limited to 'ui/msg_popup.h')
-rw-r--r-- | ui/msg_popup.h | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/ui/msg_popup.h b/ui/msg_popup.h index 29606a41..ccdf09e4 100644 --- a/ui/msg_popup.h +++ b/ui/msg_popup.h @@ -20,7 +20,7 @@ struct ReturnErrorDlg BUTTON_ABORT = 4 }; }; -ReturnErrorDlg::ButtonPressed showErrorDlg(int activeButtons, const wxString& messageText, bool* ignoreNextErrors); //ignoreNextErrors may be NULL +ReturnErrorDlg::ButtonPressed showErrorDlg(int activeButtons, const wxString& messageText, bool* ignoreNextErrors); //ignoreNextErrors may be nullptr struct ReturnWarningDlg @@ -44,7 +44,16 @@ struct ReturnQuestionDlg BUTTON_CANCEL = 4 }; }; -ReturnQuestionDlg::ButtonPressed showQuestionDlg(int activeButtons, const wxString& messageText, bool* dontShowAgain = NULL); + +struct CheckBox +{ + CheckBox(const wxString& label, bool& value) : label_(label), value_(value) {} + + wxString label_; //in + bool& value_; //in/out +}; + +ReturnQuestionDlg::ButtonPressed showQuestionDlg(int activeButtons, const wxString& messageText, CheckBox* checkbox = nullptr); } |