Fix linux issues

This commit is contained in:
Kingcom 2014-07-29 22:16:06 +02:00
parent 15943eddb1
commit c79fe9a1e7
2 changed files with 2 additions and 2 deletions

View File

@ -384,7 +384,7 @@ void BreakpointList::onPopupClick(wxCommandEvent& evt)
} }
} }
void BreakpointList::showMenu(wxPoint& pos) void BreakpointList::showMenu(const wxPoint& pos)
{ {
bool isMemory; bool isMemory;
int index = getBreakpointIndex(GetFirstSelected(),isMemory); int index = getBreakpointIndex(GetFirstSelected(),isMemory);

View File

@ -49,7 +49,7 @@ private:
void gotoBreakpointAddress(int itemIndex); void gotoBreakpointAddress(int itemIndex);
void removeBreakpoint(int itemIndex); void removeBreakpoint(int itemIndex);
void postEvent(wxEventType type, int value); void postEvent(wxEventType type, int value);
void showMenu(wxPoint& pos); void showMenu(const wxPoint& pos);
std::vector<BreakPoint> displayedBreakPoints_; std::vector<BreakPoint> displayedBreakPoints_;
std::vector<MemCheck> displayedMemChecks_; std::vector<MemCheck> displayedMemChecks_;