fix broken commit (2267c84d6a)

This commit is contained in:
David Kiarie 2014-07-15 18:04:37 +03:00
parent 75e81bc969
commit dbfd07f11e
4 changed files with 10 additions and 10 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_CLOSE_WINDOW, &VHDDManagerDialog::OnClose, this, wxID_OK);
Bind(wxEVT_BUTTON, &VHDDManagerDialog::OnClose, this, wxID_OK);
LoadPaths();
UpdateList();
}
@ -521,7 +521,7 @@ void VHDDManagerDialog::OnCreateHDD(wxCommandEvent& event)
}
}
void VHDDManagerDialog::OnClose(wxCloseEvent& event)
void VHDDManagerDialog::OnClose(wxCommandEvent& event)
{
SavePaths();
event.Skip();