Makes "Shake by Mouse Middle Button" work again

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4640 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
ayuanx
2009-12-04 12:22:36 +00:00
parent 07cd58ebc0
commit d919a641c1
7 changed files with 36 additions and 41 deletions

View File

@ -214,10 +214,10 @@ void WiimotePadConfigDialog::OnButtonClick(wxCommandEvent& event)
void WiimotePadConfigDialog::OnClose(wxCloseEvent& event)
{
event.Skip();
g_FrameOpen = false;
if(m_UpdatePad)
if (m_UpdatePad)
m_UpdatePad->Stop();
if (m_ButtonMappingTimer)
m_ButtonMappingTimer->Stop();
SaveButtonMappingAll(Page);
EndModal(wxID_CLOSE);
}
@ -681,9 +681,9 @@ void WiimotePadConfigDialog::CreatePadGUIControls()
wxT("Right"),
wxT("Up"),
wxT("Down"),
wxT("Shake"),
wxT("Pitch Left"),
wxT("Pitch Right"),
wxT("Shake"),
};