From c79fe9a1e72ebfe2d19ff6806c66eaf34945ec12 Mon Sep 17 00:00:00 2001 From: Kingcom Date: Tue, 29 Jul 2014 22:16:06 +0200 Subject: [PATCH] Fix linux issues --- pcsx2/gui/Debugger/DebuggerLists.cpp | 2 +- pcsx2/gui/Debugger/DebuggerLists.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/pcsx2/gui/Debugger/DebuggerLists.cpp b/pcsx2/gui/Debugger/DebuggerLists.cpp index fc8b9d6274..fb70350d23 100644 --- a/pcsx2/gui/Debugger/DebuggerLists.cpp +++ b/pcsx2/gui/Debugger/DebuggerLists.cpp @@ -384,7 +384,7 @@ void BreakpointList::onPopupClick(wxCommandEvent& evt) } } -void BreakpointList::showMenu(wxPoint& pos) +void BreakpointList::showMenu(const wxPoint& pos) { bool isMemory; int index = getBreakpointIndex(GetFirstSelected(),isMemory); diff --git a/pcsx2/gui/Debugger/DebuggerLists.h b/pcsx2/gui/Debugger/DebuggerLists.h index 53635be911..98f9537787 100644 --- a/pcsx2/gui/Debugger/DebuggerLists.h +++ b/pcsx2/gui/Debugger/DebuggerLists.h @@ -49,7 +49,7 @@ private: void gotoBreakpointAddress(int itemIndex); void removeBreakpoint(int itemIndex); void postEvent(wxEventType type, int value); - void showMenu(wxPoint& pos); + void showMenu(const wxPoint& pos); std::vector displayedBreakPoints_; std::vector displayedMemChecks_;