rename some functions as per their function

This commit is contained in:
David Kiarie 2014-07-15 18:29:48 +03:00
parent dbfd07f11e
commit 78aef474a5
4 changed files with 6 additions and 6 deletions

View file

@ -406,7 +406,7 @@ VHDDManagerDialog::VHDDManagerDialog(wxWindow* parent)
Bind(wxEVT_MENU, &VHDDManagerDialog::OnOpen, this, id_open);
Bind(wxEVT_MENU, &VHDDManagerDialog::OnRemove, this, id_remove);
Bind(wxEVT_MENU, &VHDDManagerDialog::OnCreateHDD, this, id_create_hdd);
Bind(wxEVT_BUTTON, &VHDDManagerDialog::OnClose, this, wxID_OK);
Bind(wxEVT_BUTTON, &VHDDManagerDialog::OnOk, this, wxID_OK);
LoadPaths();
UpdateList();
}
@ -521,7 +521,7 @@ void VHDDManagerDialog::OnCreateHDD(wxCommandEvent& event)
}
}
void VHDDManagerDialog::OnClose(wxCommandEvent& event)
void VHDDManagerDialog::OnOk(wxCommandEvent& event)
{
SavePaths();
event.Skip();