Fix a segmentation fault when the wiimote source is changed to a real wiimote in the config dialog.

A little clean up of the debugger code.


git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7237 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
Glenn Rice
2011-02-25 03:56:14 +00:00
parent 18b85b9cd5
commit 1f33fc1a48
6 changed files with 8 additions and 32 deletions

View File

@ -143,11 +143,6 @@ CCodeWindow::CCodeWindow(const SCoreStartupParameter& _LocalCoreStartupParameter
InitBitmaps();
CreateGUIControls(_LocalCoreStartupParameter);
// Connect keyboard
wxTheApp->Connect(wxID_ANY, wxEVT_KEY_DOWN,
wxKeyEventHandler(CCodeWindow::OnKeyDown),
(wxObject*)0, this);
}
wxMenuBar *CCodeWindow::GetMenuBar()
@ -163,11 +158,6 @@ wxAuiToolBar *CCodeWindow::GetToolBar()
// ----------
// Events
void CCodeWindow::OnKeyDown(wxKeyEvent& event)
{
event.Skip();
}
void CCodeWindow::OnHostMessage(wxCommandEvent& event)
{
switch (event.GetId())