From 6f9483d161e19c8d655b2271c27a4d3f6eecd543 Mon Sep 17 00:00:00 2001 From: Lioncash Date: Thu, 10 Jul 2014 20:39:26 -0400 Subject: [PATCH] DolphinWX: Remove unnecessary true within event Skip calls --- Source/Core/DolphinWX/CheatsWindow.cpp | 2 +- Source/Core/DolphinWX/Debugger/CodeView.cpp | 10 +++++----- Source/Core/DolphinWX/Debugger/CodeWindow.cpp | 2 +- Source/Core/DolphinWX/Debugger/MemoryView.cpp | 8 ++++---- Source/Core/DolphinWX/Debugger/MemoryWindow.cpp | 2 +- Source/Core/DolphinWX/TASInputDlg.cpp | 7 +++---- 6 files changed, 15 insertions(+), 16 deletions(-) diff --git a/Source/Core/DolphinWX/CheatsWindow.cpp b/Source/Core/DolphinWX/CheatsWindow.cpp index 13d8dfd4ce..b0c84c29c7 100644 --- a/Source/Core/DolphinWX/CheatsWindow.cpp +++ b/Source/Core/DolphinWX/CheatsWindow.cpp @@ -529,7 +529,7 @@ void CheatSearchTab::FilterCheatSearchResults(wxCommandEvent&) void CheatSearchTab::ApplyFocus(wxEvent& ev) { - ev.Skip(true); + ev.Skip(); value_x_radiobtn.rad_uservalue->SetValue(true); } diff --git a/Source/Core/DolphinWX/Debugger/CodeView.cpp b/Source/Core/DolphinWX/Debugger/CodeView.cpp index 968fa816f8..0b725e75d4 100644 --- a/Source/Core/DolphinWX/Debugger/CodeView.cpp +++ b/Source/Core/DolphinWX/Debugger/CodeView.cpp @@ -111,7 +111,7 @@ void CCodeView::OnMouseDown(wxMouseEvent& event) ToggleBreakpoint(YToAddress(y)); } - event.Skip(true); + event.Skip(); } void CCodeView::ToggleBreakpoint(u32 address) @@ -143,7 +143,7 @@ void CCodeView::OnMouseMove(wxMouseEvent& event) } } - event.Skip(true); + event.Skip(); } void CCodeView::RaiseEvent() @@ -163,7 +163,7 @@ void CCodeView::OnMouseUpL(wxMouseEvent& event) Refresh(); } RaiseEvent(); - event.Skip(true); + event.Skip(); } u32 CCodeView::AddrToBranch(u32 addr) @@ -330,7 +330,7 @@ void CCodeView::OnPopupMenu(wxCommandEvent& event) #if wxUSE_CLIPBOARD wxTheClipboard->Close(); #endif - event.Skip(true); + event.Skip(); } void CCodeView::OnMouseUpR(wxMouseEvent& event) @@ -357,7 +357,7 @@ void CCodeView::OnMouseUpR(wxMouseEvent& event) menu->Append(IDM_INSERTNOP, _("Insert &nop")); menu->Append(IDM_PATCHALERT, _("Patch alert")); PopupMenu(menu); - event.Skip(true); + event.Skip(); } void CCodeView::OnErase(wxEraseEvent& event) diff --git a/Source/Core/DolphinWX/Debugger/CodeWindow.cpp b/Source/Core/DolphinWX/Debugger/CodeWindow.cpp index e1c3aaf8ae..ff9758a8f9 100644 --- a/Source/Core/DolphinWX/Debugger/CodeWindow.cpp +++ b/Source/Core/DolphinWX/Debugger/CodeWindow.cpp @@ -222,7 +222,7 @@ void CCodeWindow::OnAddrBoxChange(wxCommandEvent& event) JumpToAddress(addr); } - event.Skip(1); + event.Skip(); } void CCodeWindow::OnCallstackListChange(wxCommandEvent& event) diff --git a/Source/Core/DolphinWX/Debugger/MemoryView.cpp b/Source/Core/DolphinWX/Debugger/MemoryView.cpp index 8d3e0180e3..4c22e3410c 100644 --- a/Source/Core/DolphinWX/Debugger/MemoryView.cpp +++ b/Source/Core/DolphinWX/Debugger/MemoryView.cpp @@ -99,7 +99,7 @@ void CMemoryView::OnMouseDownL(wxMouseEvent& event) Host_UpdateBreakPointView(); } - event.Skip(true); + event.Skip(); } void CMemoryView::OnMouseMove(wxMouseEvent& event) @@ -122,7 +122,7 @@ void CMemoryView::OnMouseMove(wxMouseEvent& event) OnMouseDownL(event); } - event.Skip(true); + event.Skip(); } void CMemoryView::OnMouseUpL(wxMouseEvent& event) @@ -134,7 +134,7 @@ void CMemoryView::OnMouseUpL(wxMouseEvent& event) Refresh(); } - event.Skip(true); + event.Skip(); } void CMemoryView::OnPopupMenu(wxCommandEvent& event) @@ -182,7 +182,7 @@ void CMemoryView::OnPopupMenu(wxCommandEvent& event) #if wxUSE_CLIPBOARD wxTheClipboard->Close(); #endif - event.Skip(true); + event.Skip(); } void CMemoryView::OnMouseDownR(wxMouseEvent& event) diff --git a/Source/Core/DolphinWX/Debugger/MemoryWindow.cpp b/Source/Core/DolphinWX/Debugger/MemoryWindow.cpp index 53184d7116..aa26ecc926 100644 --- a/Source/Core/DolphinWX/Debugger/MemoryWindow.cpp +++ b/Source/Core/DolphinWX/Debugger/MemoryWindow.cpp @@ -191,7 +191,7 @@ void CMemoryWindow::OnAddrBoxChange(wxCommandEvent& event) memview->Center(addr & ~3); } - event.Skip(1); + event.Skip(); } void CMemoryWindow::Update() diff --git a/Source/Core/DolphinWX/TASInputDlg.cpp b/Source/Core/DolphinWX/TASInputDlg.cpp index 1d5fb83543..fdd7635e4a 100644 --- a/Source/Core/DolphinWX/TASInputDlg.cpp +++ b/Source/Core/DolphinWX/TASInputDlg.cpp @@ -806,8 +806,7 @@ void TASInputDlg::OnMouseUpR(wxMouseEvent& event) sliderX->SetValue(*x); sliderY->SetValue(256 - *y); - event.Skip(true); - + event.Skip(); } void TASInputDlg::OnMouseDownL(wxMouseEvent& event) @@ -863,7 +862,7 @@ void TASInputDlg::OnMouseDownL(wxMouseEvent& event) sliderX->SetValue(*x); sliderY->SetValue(256 - *y); - event.Skip(true); + event.Skip(); } void TASInputDlg::SetTurboFalse(wxMouseEvent& event) @@ -922,7 +921,7 @@ void TASInputDlg::SetTurboFalse(wxMouseEvent& event) return; } - event.Skip(true); + event.Skip(); } void TASInputDlg::SetTurbo(wxMouseEvent& event)