mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-23 06:09:50 -06:00
GCAdapterConfigDiag: Rename UpdateAdapter to OnUpdateAdapter
Uses the general naming convention for event functions.
This commit is contained in:
@ -56,7 +56,7 @@ GCAdapterConfigDiag::GCAdapterConfigDiag(wxWindow* const parent, const wxString&
|
|||||||
SetSizerAndFit(szr);
|
SetSizerAndFit(szr);
|
||||||
Center();
|
Center();
|
||||||
|
|
||||||
Bind(wxEVT_ADAPTER_UPDATE, &GCAdapterConfigDiag::UpdateAdapter, this);
|
Bind(wxEVT_ADAPTER_UPDATE, &GCAdapterConfigDiag::OnUpdateAdapter, this);
|
||||||
}
|
}
|
||||||
|
|
||||||
GCAdapterConfigDiag::~GCAdapterConfigDiag()
|
GCAdapterConfigDiag::~GCAdapterConfigDiag()
|
||||||
@ -69,7 +69,7 @@ void GCAdapterConfigDiag::ScheduleAdapterUpdate()
|
|||||||
wxQueueEvent(this, new wxCommandEvent(wxEVT_ADAPTER_UPDATE));
|
wxQueueEvent(this, new wxCommandEvent(wxEVT_ADAPTER_UPDATE));
|
||||||
}
|
}
|
||||||
|
|
||||||
void GCAdapterConfigDiag::UpdateAdapter(wxCommandEvent& ev)
|
void GCAdapterConfigDiag::OnUpdateAdapter(wxCommandEvent& ev)
|
||||||
{
|
{
|
||||||
bool unpause = Core::PauseAndLock(true);
|
bool unpause = Core::PauseAndLock(true);
|
||||||
if (GCAdapter::IsDetected())
|
if (GCAdapter::IsDetected())
|
||||||
|
@ -16,8 +16,8 @@ public:
|
|||||||
|
|
||||||
private:
|
private:
|
||||||
void ScheduleAdapterUpdate();
|
void ScheduleAdapterUpdate();
|
||||||
void UpdateAdapter(wxCommandEvent& ev);
|
|
||||||
|
|
||||||
|
void OnUpdateAdapter(wxCommandEvent& ev);
|
||||||
void OnAdapterRumble(wxCommandEvent& event);
|
void OnAdapterRumble(wxCommandEvent& event);
|
||||||
void OnAdapterKonga(wxCommandEvent& event);
|
void OnAdapterKonga(wxCommandEvent& event);
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user