EvtMainFrame: fix a function signature.

This commit is contained in:
Guillaume Jacquemin 2021-05-12 15:11:05 +02:00
parent 1d7c08b3ca
commit 171fee333f
2 changed files with 2 additions and 2 deletions

View File

@ -167,7 +167,7 @@ void EvtMainFrame::backupSelectedProfileEvent(wxCommandEvent&) {
} }
} }
void EvtMainFrame::companyRenameEvent(wxMouseEvent&) { void EvtMainFrame::companyRenameEvent(wxCommandEvent&) {
const static std::string error_prefix = "Rename failed:\n\n"; const static std::string error_prefix = "Rename failed:\n\n";
EvtNameChangeDialog dialog{this}; EvtNameChangeDialog dialog{this};

View File

@ -44,7 +44,7 @@ class EvtMainFrame: public MainFrame {
// Profile-related events // Profile-related events
void profileSelectionEvent(wxCommandEvent&); void profileSelectionEvent(wxCommandEvent&);
void backupSelectedProfileEvent(wxCommandEvent&); void backupSelectedProfileEvent(wxCommandEvent&);
void companyRenameEvent(wxMouseEvent&); void companyRenameEvent(wxCommandEvent&);
void storyProgressSelectionEvent(wxCommandEvent& event); void storyProgressSelectionEvent(wxCommandEvent& event);
void openStoryProgressMenuEvent(wxCommandEvent&); void openStoryProgressMenuEvent(wxCommandEvent&);
void inventoryChangeEvent(wxPropertyGridEvent& event); void inventoryChangeEvent(wxPropertyGridEvent& event);