29#include <wx/listctrl.h>
55 void OnRestore( wxCommandEvent& aEvent )
override;
57 void OnKeepBoth( wxCommandEvent& aEvent )
override;
58 void OnCancel( wxCommandEvent& aEvent )
override;
65 std::vector<std::pair<wxString, wxString>>
m_stale;
DIALOG_AUTOSAVE_RECOVERY_BASE(wxWindow *parent, wxWindowID id=wxID_ANY, const wxString &title=_("Auto-Save Recovery"), const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxSize(600, 400), long style=wxDEFAULT_DIALOG_STYLE|wxRESIZE_BORDER)
void onItemCheckChanged(wxListEvent &aEvent)
DIALOG_AUTOSAVE_RECOVERY(wxWindow *aParent, const std::vector< std::pair< wxString, wxString > > &aStale)
void OnCancel(wxCommandEvent &aEvent) override
std::vector< std::pair< wxString, wxString > > m_stale
std::vector< std::pair< wxString, wxString > > GetSelectedStale() const
void updateActionButtons()
void OnKeepBoth(wxCommandEvent &aEvent) override
AUTOSAVE_RECOVERY_CHOICE m_choice
void OnKeepCurrent(wxCommandEvent &aEvent) override
AUTOSAVE_RECOVERY_CHOICE GetChoice() const
void OnRestore(wxCommandEvent &aEvent) override