Wiimote configuration dialog: Select first Wiimote tab by default.
Fixes issue 4587. git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7594 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
parent
1d29204ae6
commit
880cd14710
|
@ -163,7 +163,7 @@ WiimoteConfigDiag::WiimoteConfigDiag(wxWindow* const parent, InputPlugin& plugin
|
||||||
m_pad_notebook->AddPage(wpage, wxString(_("Wiimote ")) + wxChar('1'+i));
|
m_pad_notebook->AddPage(wpage, wxString(_("Wiimote ")) + wxChar('1'+i));
|
||||||
m_wiimote_config_pages.push_back(wpage);
|
m_wiimote_config_pages.push_back(wpage);
|
||||||
}
|
}
|
||||||
m_pad_notebook->SetSelection(0);
|
m_pad_notebook->SetSelection(1);
|
||||||
|
|
||||||
Connect(wxID_OK, wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler(WiimoteConfigDiag::Save));
|
Connect(wxID_OK, wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler(WiimoteConfigDiag::Save));
|
||||||
Connect(wxID_CANCEL, wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler(WiimoteConfigDiag::Cancel));
|
Connect(wxID_CANCEL, wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler(WiimoteConfigDiag::Cancel));
|
||||||
|
|
Loading…
Reference in New Issue