mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-01-25 07:21:14 +01:00
replace this->Bind with Bind
This commit is contained in:
parent
6e5c26a3d4
commit
5dbc3b3219
@ -25,7 +25,7 @@ SettingCheckBox::BoolSetting(wxWindow* parent, const wxString& label, const wxSt
|
|||||||
{
|
{
|
||||||
SetToolTip(tooltip);
|
SetToolTip(tooltip);
|
||||||
SetValue(m_setting ^ m_reverse);
|
SetValue(m_setting ^ m_reverse);
|
||||||
this->Bind(wxEVT_COMMAND_CHECKBOX_CLICKED, &SettingCheckBox::UpdateValue, this);
|
Bind(wxEVT_COMMAND_CHECKBOX_CLICKED, &SettingCheckBox::UpdateValue, this);
|
||||||
}
|
}
|
||||||
|
|
||||||
template <>
|
template <>
|
||||||
@ -36,7 +36,7 @@ SettingRadioButton::BoolSetting(wxWindow* parent, const wxString& label, const w
|
|||||||
{
|
{
|
||||||
SetToolTip(tooltip);
|
SetToolTip(tooltip);
|
||||||
SetValue(m_setting ^ m_reverse);
|
SetValue(m_setting ^ m_reverse);
|
||||||
this->Bind(wxEVT_COMMAND_RADIOBUTTON_SELECTED, &SettingRadioButton::UpdateValue, this);
|
Bind(wxEVT_COMMAND_RADIOBUTTON_SELECTED, &SettingRadioButton::UpdateValue, this);
|
||||||
}
|
}
|
||||||
|
|
||||||
SettingChoice::SettingChoice(wxWindow* parent, int &setting, const wxString& tooltip, int num, const wxString choices[], long style)
|
SettingChoice::SettingChoice(wxWindow* parent, int &setting, const wxString& tooltip, int num, const wxString choices[], long style)
|
||||||
@ -45,7 +45,7 @@ SettingChoice::SettingChoice(wxWindow* parent, int &setting, const wxString& too
|
|||||||
{
|
{
|
||||||
SetToolTip(tooltip);
|
SetToolTip(tooltip);
|
||||||
Select(m_setting);
|
Select(m_setting);
|
||||||
this->Bind(wxEVT_COMMAND_CHOICE_SELECTED, &SettingChoice::UpdateValue, this);
|
Bind(wxEVT_COMMAND_CHOICE_SELECTED, &SettingChoice::UpdateValue, this);
|
||||||
}
|
}
|
||||||
|
|
||||||
void SettingChoice::UpdateValue(wxCommandEvent& ev)
|
void SettingChoice::UpdateValue(wxCommandEvent& ev)
|
||||||
|
@ -28,7 +28,7 @@ IntegerSetting<T>::IntegerSetting(wxWindow* parent, const wxString& label, T& se
|
|||||||
{
|
{
|
||||||
SetRange(minVal, maxVal);
|
SetRange(minVal, maxVal);
|
||||||
SetValue(m_setting);
|
SetValue(m_setting);
|
||||||
this->Bind(wxEVT_COMMAND_SPINCTRL_UPDATED, &IntegerSetting::UpdateValue, this);
|
Bind(wxEVT_COMMAND_SPINCTRL_UPDATED, &IntegerSetting::UpdateValue, this);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user