Fix a regression introduced in 1.1.2. Again.

This commit is contained in:
Guillaume Jacquemin 2020-08-17 13:10:45 +02:00
parent cd92cb02fa
commit 401d7d747e
4 changed files with 4 additions and 4 deletions

View File

@ -231,7 +231,7 @@ void EvtMainFrame::renameMassEvent(wxCommandEvent&) {
} }
} }
void EvtMainFrame::backupEvent(wxCommandEvent&) { void EvtMainFrame::backupSavesEvent(wxCommandEvent&) {
const static std::string error_prefix = "Backup failed:\n\n"; const static std::string error_prefix = "Backup failed:\n\n";
wxString current_timestamp = wxDateTime::Now().Format("%Y-%m-%d_%H-%M-%S"); wxString current_timestamp = wxDateTime::Now().Format("%Y-%m-%d_%H-%M-%S");

View File

@ -40,7 +40,7 @@ class EvtMainFrame: public MainFrame {
void moveMassEvent(wxCommandEvent&); void moveMassEvent(wxCommandEvent&);
void deleteMassEvent(wxCommandEvent&); void deleteMassEvent(wxCommandEvent&);
void renameMassEvent(wxCommandEvent&); void renameMassEvent(wxCommandEvent&);
void backupEvent(wxCommandEvent&); void backupSavesEvent(wxCommandEvent&);
void openSaveDirEvent(wxCommandEvent&); void openSaveDirEvent(wxCommandEvent&);
void stagingSelectionEvent(wxCommandEvent&); void stagingSelectionEvent(wxCommandEvent&);
void deleteStagedEvent(wxCommandEvent&); void deleteStagedEvent(wxCommandEvent&);

View File

@ -48,7 +48,7 @@
<property name="size">-1,-1</property> <property name="size">-1,-1</property>
<property name="style">wxCAPTION|wxCLOSE_BOX|wxMINIMIZE_BOX|wxSYSTEM_MENU</property> <property name="style">wxCAPTION|wxCLOSE_BOX|wxMINIMIZE_BOX|wxSYSTEM_MENU</property>
<property name="subclass">; ; forward_declare</property> <property name="subclass">; ; forward_declare</property>
<property name="title">M.A.S.S. Manager 1.2.1</property> <property name="title">M.A.S.S. Manager 1.2.2</property>
<property name="tooltip"></property> <property name="tooltip"></property>
<property name="window_extra_style"></property> <property name="window_extra_style"></property>
<property name="window_name"></property> <property name="window_name"></property>

View File

@ -96,7 +96,7 @@ class MainFrame : public wxFrame
public: public:
MainFrame( wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = wxT("M.A.S.S. Manager 1.2.1"), const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize( -1,-1 ), long style = wxCAPTION|wxCLOSE_BOX|wxMINIMIZE_BOX|wxSYSTEM_MENU|wxCLIP_CHILDREN|wxTAB_TRAVERSAL ); MainFrame( wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = wxT("M.A.S.S. Manager 1.2.2"), const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize( -1,-1 ), long style = wxCAPTION|wxCLOSE_BOX|wxMINIMIZE_BOX|wxSYSTEM_MENU|wxCLIP_CHILDREN|wxTAB_TRAVERSAL );
~MainFrame(); ~MainFrame();