GCAdapterConfigDiag: Rename UpdateAdapter to OnUpdateAdapter

Uses the general naming convention for event functions.
This commit is contained in:
Lioncash 2016-11-10 20:18:12 -05:00
parent c5c7ff9fd6
commit 1ae9027a6b
2 changed files with 3 additions and 3 deletions

View File

@ -56,7 +56,7 @@ GCAdapterConfigDiag::GCAdapterConfigDiag(wxWindow* const parent, const wxString&
SetSizerAndFit(szr);
Center();
Bind(wxEVT_ADAPTER_UPDATE, &GCAdapterConfigDiag::UpdateAdapter, this);
Bind(wxEVT_ADAPTER_UPDATE, &GCAdapterConfigDiag::OnUpdateAdapter, this);
}
GCAdapterConfigDiag::~GCAdapterConfigDiag()
@ -69,7 +69,7 @@ void GCAdapterConfigDiag::ScheduleAdapterUpdate()
wxQueueEvent(this, new wxCommandEvent(wxEVT_ADAPTER_UPDATE));
}
void GCAdapterConfigDiag::UpdateAdapter(wxCommandEvent& ev)
void GCAdapterConfigDiag::OnUpdateAdapter(wxCommandEvent& ev)
{
bool unpause = Core::PauseAndLock(true);
if (GCAdapter::IsDetected())

View File

@ -16,8 +16,8 @@ public:
private:
void ScheduleAdapterUpdate();
void UpdateAdapter(wxCommandEvent& ev);
void OnUpdateAdapter(wxCommandEvent& ev);
void OnAdapterRumble(wxCommandEvent& event);
void OnAdapterKonga(wxCommandEvent& event);