diff options
author | B. Stack <bgstack15@gmail.com> | 2021-12-06 07:57:52 -0500 |
---|---|---|
committer | B. Stack <bgstack15@gmail.com> | 2021-12-06 07:57:52 -0500 |
commit | 226ac347c51e21440d1740d85b5e9912d1ce08e5 (patch) | |
tree | 2999df8f80b28d0f7f60a84b7f75d613e280bba1 /wx+/popup_dlg.h | |
parent | Merge branch 'b11.14' into 'master' (diff) | |
download | FreeFileSync-226ac347c51e21440d1740d85b5e9912d1ce08e5.tar.gz FreeFileSync-226ac347c51e21440d1740d85b5e9912d1ce08e5.tar.bz2 FreeFileSync-226ac347c51e21440d1740d85b5e9912d1ce08e5.zip |
add upstream 11.15
Diffstat (limited to 'wx+/popup_dlg.h')
-rw-r--r-- | wx+/popup_dlg.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/wx+/popup_dlg.h b/wx+/popup_dlg.h index bb7ba51b..11e96e3b 100644 --- a/wx+/popup_dlg.h +++ b/wx+/popup_dlg.h @@ -8,6 +8,7 @@ #define POPUP_DLG_H_820780154723456 #include <set> +#include <zen/zstring.h> #include <wx/window.h> #include <wx/bitmap.h> #include <wx/string.h> @@ -68,6 +69,7 @@ struct PopupDialogCfg PopupDialogCfg& setMainInstructions (const wxString& label) { textMain = label; return *this; } //set at least one of these! PopupDialogCfg& setDetailInstructions(const wxString& label) { textDetail = label; return *this; } // PopupDialogCfg& disableButton(ConfirmationButton3 button) { disabledButtons.insert(button); return *this; } + PopupDialogCfg& remindWhenPending(const Zstring& soundFilePath) { soundFileAlertPending = soundFilePath; return *this; } PopupDialogCfg& setCheckBox(bool& value, const wxString& label, ConfirmationButton3 disableWhenChecked = ConfirmationButton3::cancel) { checkBoxValue = &value; @@ -84,6 +86,7 @@ private: wxString textMain; wxString textDetail; std::set<ConfirmationButton3> disabledButtons; + Zstring soundFileAlertPending; bool* checkBoxValue = nullptr; //in/out wxString checkBoxLabel; ConfirmationButton3 buttonToDisableWhenChecked = ConfirmationButton3::cancel; |