Merge pull request #599 from lioncash/skips
DolphinWX: Remove unnecessary true within event Skip calls
This commit is contained in:
commit
59a7939f18
|
@ -529,7 +529,7 @@ void CheatSearchTab::FilterCheatSearchResults(wxCommandEvent&)
|
||||||
|
|
||||||
void CheatSearchTab::ApplyFocus(wxEvent& ev)
|
void CheatSearchTab::ApplyFocus(wxEvent& ev)
|
||||||
{
|
{
|
||||||
ev.Skip(true);
|
ev.Skip();
|
||||||
value_x_radiobtn.rad_uservalue->SetValue(true);
|
value_x_radiobtn.rad_uservalue->SetValue(true);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -111,7 +111,7 @@ void CCodeView::OnMouseDown(wxMouseEvent& event)
|
||||||
ToggleBreakpoint(YToAddress(y));
|
ToggleBreakpoint(YToAddress(y));
|
||||||
}
|
}
|
||||||
|
|
||||||
event.Skip(true);
|
event.Skip();
|
||||||
}
|
}
|
||||||
|
|
||||||
void CCodeView::ToggleBreakpoint(u32 address)
|
void CCodeView::ToggleBreakpoint(u32 address)
|
||||||
|
@ -143,7 +143,7 @@ void CCodeView::OnMouseMove(wxMouseEvent& event)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
event.Skip(true);
|
event.Skip();
|
||||||
}
|
}
|
||||||
|
|
||||||
void CCodeView::RaiseEvent()
|
void CCodeView::RaiseEvent()
|
||||||
|
@ -163,7 +163,7 @@ void CCodeView::OnMouseUpL(wxMouseEvent& event)
|
||||||
Refresh();
|
Refresh();
|
||||||
}
|
}
|
||||||
RaiseEvent();
|
RaiseEvent();
|
||||||
event.Skip(true);
|
event.Skip();
|
||||||
}
|
}
|
||||||
|
|
||||||
u32 CCodeView::AddrToBranch(u32 addr)
|
u32 CCodeView::AddrToBranch(u32 addr)
|
||||||
|
@ -330,7 +330,7 @@ void CCodeView::OnPopupMenu(wxCommandEvent& event)
|
||||||
#if wxUSE_CLIPBOARD
|
#if wxUSE_CLIPBOARD
|
||||||
wxTheClipboard->Close();
|
wxTheClipboard->Close();
|
||||||
#endif
|
#endif
|
||||||
event.Skip(true);
|
event.Skip();
|
||||||
}
|
}
|
||||||
|
|
||||||
void CCodeView::OnMouseUpR(wxMouseEvent& event)
|
void CCodeView::OnMouseUpR(wxMouseEvent& event)
|
||||||
|
@ -357,7 +357,7 @@ void CCodeView::OnMouseUpR(wxMouseEvent& event)
|
||||||
menu->Append(IDM_INSERTNOP, _("Insert &nop"));
|
menu->Append(IDM_INSERTNOP, _("Insert &nop"));
|
||||||
menu->Append(IDM_PATCHALERT, _("Patch alert"));
|
menu->Append(IDM_PATCHALERT, _("Patch alert"));
|
||||||
PopupMenu(menu);
|
PopupMenu(menu);
|
||||||
event.Skip(true);
|
event.Skip();
|
||||||
}
|
}
|
||||||
|
|
||||||
void CCodeView::OnErase(wxEraseEvent& event)
|
void CCodeView::OnErase(wxEraseEvent& event)
|
||||||
|
|
|
@ -222,7 +222,7 @@ void CCodeWindow::OnAddrBoxChange(wxCommandEvent& event)
|
||||||
JumpToAddress(addr);
|
JumpToAddress(addr);
|
||||||
}
|
}
|
||||||
|
|
||||||
event.Skip(1);
|
event.Skip();
|
||||||
}
|
}
|
||||||
|
|
||||||
void CCodeWindow::OnCallstackListChange(wxCommandEvent& event)
|
void CCodeWindow::OnCallstackListChange(wxCommandEvent& event)
|
||||||
|
|
|
@ -99,7 +99,7 @@ void CMemoryView::OnMouseDownL(wxMouseEvent& event)
|
||||||
Host_UpdateBreakPointView();
|
Host_UpdateBreakPointView();
|
||||||
}
|
}
|
||||||
|
|
||||||
event.Skip(true);
|
event.Skip();
|
||||||
}
|
}
|
||||||
|
|
||||||
void CMemoryView::OnMouseMove(wxMouseEvent& event)
|
void CMemoryView::OnMouseMove(wxMouseEvent& event)
|
||||||
|
@ -122,7 +122,7 @@ void CMemoryView::OnMouseMove(wxMouseEvent& event)
|
||||||
OnMouseDownL(event);
|
OnMouseDownL(event);
|
||||||
}
|
}
|
||||||
|
|
||||||
event.Skip(true);
|
event.Skip();
|
||||||
}
|
}
|
||||||
|
|
||||||
void CMemoryView::OnMouseUpL(wxMouseEvent& event)
|
void CMemoryView::OnMouseUpL(wxMouseEvent& event)
|
||||||
|
@ -134,7 +134,7 @@ void CMemoryView::OnMouseUpL(wxMouseEvent& event)
|
||||||
Refresh();
|
Refresh();
|
||||||
}
|
}
|
||||||
|
|
||||||
event.Skip(true);
|
event.Skip();
|
||||||
}
|
}
|
||||||
|
|
||||||
void CMemoryView::OnPopupMenu(wxCommandEvent& event)
|
void CMemoryView::OnPopupMenu(wxCommandEvent& event)
|
||||||
|
@ -182,7 +182,7 @@ void CMemoryView::OnPopupMenu(wxCommandEvent& event)
|
||||||
#if wxUSE_CLIPBOARD
|
#if wxUSE_CLIPBOARD
|
||||||
wxTheClipboard->Close();
|
wxTheClipboard->Close();
|
||||||
#endif
|
#endif
|
||||||
event.Skip(true);
|
event.Skip();
|
||||||
}
|
}
|
||||||
|
|
||||||
void CMemoryView::OnMouseDownR(wxMouseEvent& event)
|
void CMemoryView::OnMouseDownR(wxMouseEvent& event)
|
||||||
|
|
|
@ -191,7 +191,7 @@ void CMemoryWindow::OnAddrBoxChange(wxCommandEvent& event)
|
||||||
memview->Center(addr & ~3);
|
memview->Center(addr & ~3);
|
||||||
}
|
}
|
||||||
|
|
||||||
event.Skip(1);
|
event.Skip();
|
||||||
}
|
}
|
||||||
|
|
||||||
void CMemoryWindow::Update()
|
void CMemoryWindow::Update()
|
||||||
|
|
|
@ -806,8 +806,7 @@ void TASInputDlg::OnMouseUpR(wxMouseEvent& event)
|
||||||
|
|
||||||
sliderX->SetValue(*x);
|
sliderX->SetValue(*x);
|
||||||
sliderY->SetValue(256 - *y);
|
sliderY->SetValue(256 - *y);
|
||||||
event.Skip(true);
|
event.Skip();
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void TASInputDlg::OnMouseDownL(wxMouseEvent& event)
|
void TASInputDlg::OnMouseDownL(wxMouseEvent& event)
|
||||||
|
@ -863,7 +862,7 @@ void TASInputDlg::OnMouseDownL(wxMouseEvent& event)
|
||||||
|
|
||||||
sliderX->SetValue(*x);
|
sliderX->SetValue(*x);
|
||||||
sliderY->SetValue(256 - *y);
|
sliderY->SetValue(256 - *y);
|
||||||
event.Skip(true);
|
event.Skip();
|
||||||
}
|
}
|
||||||
|
|
||||||
void TASInputDlg::SetTurboFalse(wxMouseEvent& event)
|
void TASInputDlg::SetTurboFalse(wxMouseEvent& event)
|
||||||
|
@ -922,7 +921,7 @@ void TASInputDlg::SetTurboFalse(wxMouseEvent& event)
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
event.Skip(true);
|
event.Skip();
|
||||||
}
|
}
|
||||||
|
|
||||||
void TASInputDlg::SetTurbo(wxMouseEvent& event)
|
void TASInputDlg::SetTurbo(wxMouseEvent& event)
|
||||||
|
|
Loading…
Reference in New Issue