mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-23 06:09:50 -06:00
Fixes Issue 2180
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4981 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
@ -117,9 +117,7 @@ WiimotePadConfigDialog::WiimotePadConfigDialog(wxWindow *parent, wxWindowID id,
|
||||
: wxDialog(parent, id, title, position, size, style)
|
||||
{
|
||||
m_ControlsCreated = false;;
|
||||
m_Page = g_Config.CurrentPage;
|
||||
CreatePadGUIControls();
|
||||
m_Notebook->ChangeSelection(m_Page);
|
||||
|
||||
#if wxUSE_TIMER
|
||||
m_ButtonMappingTimer = new wxTimer(this, IDTM_BUTTON);
|
||||
@ -139,6 +137,8 @@ WiimotePadConfigDialog::WiimotePadConfigDialog(wxWindow *parent, wxWindowID id,
|
||||
}
|
||||
#endif
|
||||
|
||||
m_Page = g_Config.CurrentPage;
|
||||
m_Notebook->ChangeSelection(m_Page);
|
||||
// Set control values
|
||||
UpdateGUI();
|
||||
|
||||
@ -211,7 +211,7 @@ void WiimotePadConfigDialog::SaveButtonMapping(int Id, int Key)
|
||||
|
||||
void WiimotePadConfigDialog::OnKeyDown(wxKeyEvent& event)
|
||||
{
|
||||
event.Skip();
|
||||
//event.Skip();
|
||||
|
||||
if(ClickedButton != NULL)
|
||||
{
|
||||
|
Reference in New Issue
Block a user