25#include "dialog_base.h"
26#include "dialog_footer.h"
51 AlertDialog(wxWindow* parent,
const std::string& title,
52 const std::string& action);
72 const std::string& action,
const std::string& msg);
76 void OnCancel(wxCommandEvent& event);
77 void OnConfirm(wxCommandEvent& event);
A modal message dialog with a cancel and confirmation button.
void SetListener(IAlertConfirmation *listener)
Listen for response.
void SetMessage(const std::string &msg)
Set alert message.
static int GetConfirmation(wxWindow *parent, const std::string &title, const std::string &action, const std::string &msg)
Helper that returns the dialog response.
Dialog layout with content sizer.
Alert confirmation listener interface.
virtual void OnConfirm(const bool result)=0
Handle confirmation response.