2013-04-18 03:43:35 +00:00
|
|
|
// Copyright 2013 Dolphin Emulator Project
|
|
|
|
// Licensed under GPLv2
|
|
|
|
// Refer to the license.txt file included.
|
2008-12-08 05:30:24 +00:00
|
|
|
|
2009-07-12 10:08:59 +00:00
|
|
|
#include "DebuggerUIUtil.h"
|
2008-12-08 05:30:24 +00:00
|
|
|
#include "Common.h"
|
2009-09-27 21:28:09 +00:00
|
|
|
#include "Host.h"
|
|
|
|
#include "PowerPC/PowerPC.h"
|
|
|
|
#include "HW/Memmap.h"
|
2008-12-08 05:30:24 +00:00
|
|
|
|
|
|
|
#include "MemoryView.h"
|
2013-02-28 04:37:38 +00:00
|
|
|
#include "../WxUtils.h"
|
|
|
|
|
2008-12-08 05:30:24 +00:00
|
|
|
#include <wx/event.h>
|
|
|
|
#include <wx/clipbrd.h>
|
|
|
|
|
|
|
|
enum
|
|
|
|
{
|
|
|
|
IDM_GOTOINMEMVIEW = 12000,
|
|
|
|
IDM_COPYADDRESS,
|
|
|
|
IDM_COPYHEX,
|
|
|
|
IDM_COPYCODE,
|
|
|
|
IDM_RUNTOHERE,
|
|
|
|
IDM_DYNARECRESULTS,
|
2009-06-17 19:50:59 +00:00
|
|
|
IDM_TOGGLEMEMORY,
|
2009-10-12 16:20:31 +00:00
|
|
|
IDM_VIEWASFP,
|
|
|
|
IDM_VIEWASASCII,
|
2009-11-25 10:07:56 +00:00
|
|
|
IDM_VIEWASHEX,
|
2008-12-08 05:30:24 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
BEGIN_EVENT_TABLE(CMemoryView, wxControl)
|
2011-02-24 05:05:25 +00:00
|
|
|
EVT_PAINT(CMemoryView::OnPaint)
|
|
|
|
EVT_LEFT_DOWN(CMemoryView::OnMouseDownL)
|
|
|
|
EVT_LEFT_UP(CMemoryView::OnMouseUpL)
|
|
|
|
EVT_MOTION(CMemoryView::OnMouseMove)
|
|
|
|
EVT_RIGHT_DOWN(CMemoryView::OnMouseDownR)
|
|
|
|
EVT_MENU(-1, CMemoryView::OnPopupMenu)
|
|
|
|
EVT_SIZE(CMemoryView::OnResize)
|
2008-12-08 05:30:24 +00:00
|
|
|
END_EVENT_TABLE()
|
|
|
|
|
2011-02-24 05:05:25 +00:00
|
|
|
CMemoryView::CMemoryView(DebugInterface* debuginterface, wxWindow* parent)
|
|
|
|
: wxControl(parent, wxID_ANY, wxDefaultPosition, wxDefaultSize)
|
|
|
|
, curAddress(debuginterface->getPC())
|
|
|
|
, debugger(debuginterface)
|
|
|
|
, align(debuginterface->getInstructionSize(0))
|
|
|
|
, rowHeight(13)
|
|
|
|
, selection(0)
|
|
|
|
, oldSelection(0)
|
|
|
|
, selecting(false)
|
|
|
|
, memory(0)
|
|
|
|
, viewAsType(VIEWAS_FP)
|
2008-12-08 05:30:24 +00:00
|
|
|
{
|
|
|
|
}
|
|
|
|
|
|
|
|
int CMemoryView::YToAddress(int y)
|
|
|
|
{
|
|
|
|
wxRect rc = GetClientRect();
|
|
|
|
int ydiff = y - rc.height / 2 - rowHeight / 2;
|
|
|
|
ydiff = (int)(floorf((float)ydiff / (float)rowHeight)) + 1;
|
2011-02-24 05:05:25 +00:00
|
|
|
return curAddress + ydiff * align;
|
2008-12-08 05:30:24 +00:00
|
|
|
}
|
|
|
|
|
2009-10-12 16:20:31 +00:00
|
|
|
void CMemoryView::OnMouseDownL(wxMouseEvent& event)
|
2008-12-08 05:30:24 +00:00
|
|
|
{
|
|
|
|
int x = event.m_x;
|
|
|
|
int y = event.m_y;
|
|
|
|
|
|
|
|
if (x > 16)
|
|
|
|
{
|
|
|
|
oldSelection = selection;
|
|
|
|
selection = YToAddress(y);
|
|
|
|
bool oldselecting = selecting;
|
|
|
|
selecting = true;
|
|
|
|
|
|
|
|
if (!oldselecting || (selection != oldSelection))
|
2011-02-24 05:05:25 +00:00
|
|
|
Refresh();
|
2008-12-08 05:30:24 +00:00
|
|
|
}
|
|
|
|
else
|
|
|
|
{
|
2013-04-08 05:16:50 +00:00
|
|
|
debugger->toggleMemCheck(YToAddress(y));
|
2009-09-27 21:28:09 +00:00
|
|
|
|
2011-02-24 05:05:25 +00:00
|
|
|
Refresh();
|
2009-09-27 21:28:09 +00:00
|
|
|
Host_UpdateBreakPointView();
|
2008-12-08 05:30:24 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
event.Skip(true);
|
|
|
|
}
|
|
|
|
|
|
|
|
void CMemoryView::OnMouseMove(wxMouseEvent& event)
|
|
|
|
{
|
|
|
|
wxRect rc = GetClientRect();
|
|
|
|
|
2011-02-24 05:05:25 +00:00
|
|
|
if (event.m_leftDown && event.m_x > 16)
|
2008-12-08 05:30:24 +00:00
|
|
|
{
|
2011-02-24 05:05:25 +00:00
|
|
|
if (event.m_y < 0)
|
2008-12-08 05:30:24 +00:00
|
|
|
{
|
2011-02-24 05:05:25 +00:00
|
|
|
curAddress -= align;
|
|
|
|
Refresh();
|
2008-12-08 05:30:24 +00:00
|
|
|
}
|
2011-02-24 05:05:25 +00:00
|
|
|
else if (event.m_y > rc.height)
|
|
|
|
{
|
|
|
|
curAddress += align;
|
|
|
|
Refresh();
|
|
|
|
}
|
|
|
|
else
|
|
|
|
OnMouseDownL(event);
|
2008-12-08 05:30:24 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
event.Skip(true);
|
|
|
|
}
|
|
|
|
|
|
|
|
void CMemoryView::OnMouseUpL(wxMouseEvent& event)
|
|
|
|
{
|
|
|
|
if (event.m_x > 16)
|
|
|
|
{
|
|
|
|
curAddress = YToAddress(event.m_y);
|
|
|
|
selecting = false;
|
2011-02-24 05:05:25 +00:00
|
|
|
Refresh();
|
2008-12-08 05:30:24 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
event.Skip(true);
|
|
|
|
}
|
|
|
|
|
|
|
|
void CMemoryView::OnPopupMenu(wxCommandEvent& event)
|
|
|
|
{
|
|
|
|
#if wxUSE_CLIPBOARD
|
|
|
|
wxTheClipboard->Open();
|
|
|
|
#endif
|
|
|
|
|
|
|
|
switch (event.GetId())
|
|
|
|
{
|
|
|
|
#if wxUSE_CLIPBOARD
|
2013-04-08 05:16:50 +00:00
|
|
|
case IDM_COPYADDRESS:
|
2011-02-24 05:05:25 +00:00
|
|
|
wxTheClipboard->SetData(new wxTextDataObject(wxString::Format(_T("%08x"), selection)));
|
2013-04-08 05:16:50 +00:00
|
|
|
break;
|
|
|
|
|
|
|
|
case IDM_COPYHEX:
|
|
|
|
{
|
|
|
|
char temp[24];
|
|
|
|
sprintf(temp, "%08x", debugger->readExtraMemory(memory, selection));
|
|
|
|
wxTheClipboard->SetData(new wxTextDataObject(StrToWxStr(temp)));
|
|
|
|
}
|
|
|
|
break;
|
2009-10-12 16:20:31 +00:00
|
|
|
#endif
|
2009-10-12 16:24:24 +00:00
|
|
|
|
|
|
|
case IDM_TOGGLEMEMORY:
|
|
|
|
memory ^= 1;
|
2011-02-24 05:05:25 +00:00
|
|
|
Refresh();
|
2009-10-12 16:24:24 +00:00
|
|
|
break;
|
|
|
|
|
2009-10-12 16:20:31 +00:00
|
|
|
case IDM_VIEWASFP:
|
|
|
|
viewAsType = VIEWAS_FP;
|
2011-02-24 05:05:25 +00:00
|
|
|
Refresh();
|
2009-10-12 16:20:31 +00:00
|
|
|
break;
|
2009-06-17 19:50:59 +00:00
|
|
|
|
2009-10-12 16:20:31 +00:00
|
|
|
case IDM_VIEWASASCII:
|
|
|
|
viewAsType = VIEWAS_ASCII;
|
2011-02-24 05:05:25 +00:00
|
|
|
Refresh();
|
2009-06-17 19:50:59 +00:00
|
|
|
break;
|
2009-11-25 10:07:56 +00:00
|
|
|
case IDM_VIEWASHEX:
|
|
|
|
viewAsType = VIEWAS_HEX;
|
2011-02-24 05:05:25 +00:00
|
|
|
Refresh();
|
2009-11-25 10:07:56 +00:00
|
|
|
break;
|
2008-12-08 05:30:24 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
#if wxUSE_CLIPBOARD
|
|
|
|
wxTheClipboard->Close();
|
|
|
|
#endif
|
|
|
|
event.Skip(true);
|
|
|
|
}
|
|
|
|
|
2009-10-12 16:20:31 +00:00
|
|
|
void CMemoryView::OnMouseDownR(wxMouseEvent& event)
|
2008-12-08 05:30:24 +00:00
|
|
|
{
|
|
|
|
// popup menu
|
2009-11-23 08:05:54 +00:00
|
|
|
wxMenu* menu = new wxMenu;
|
2008-12-08 05:30:24 +00:00
|
|
|
//menu.Append(IDM_GOTOINMEMVIEW, "&Goto in mem view");
|
|
|
|
#if wxUSE_CLIPBOARD
|
2013-02-28 04:37:38 +00:00
|
|
|
menu->Append(IDM_COPYADDRESS, StrToWxStr("Copy &address"));
|
|
|
|
menu->Append(IDM_COPYHEX, StrToWxStr("Copy &hex"));
|
2008-12-08 05:30:24 +00:00
|
|
|
#endif
|
2013-02-28 04:37:38 +00:00
|
|
|
menu->Append(IDM_TOGGLEMEMORY, StrToWxStr("Toggle &memory"));
|
2009-10-12 16:20:31 +00:00
|
|
|
|
2009-11-23 08:05:54 +00:00
|
|
|
wxMenu* viewAsSubMenu = new wxMenu;
|
2013-02-28 04:37:38 +00:00
|
|
|
viewAsSubMenu->Append(IDM_VIEWASFP, StrToWxStr("FP value"));
|
|
|
|
viewAsSubMenu->Append(IDM_VIEWASASCII, StrToWxStr("ASCII"));
|
|
|
|
viewAsSubMenu->Append(IDM_VIEWASHEX, StrToWxStr("Hex"));
|
2013-04-08 05:16:50 +00:00
|
|
|
menu->AppendSubMenu(viewAsSubMenu, StrToWxStr("View As:"));
|
2009-10-12 16:20:31 +00:00
|
|
|
|
2009-11-23 08:05:54 +00:00
|
|
|
PopupMenu(menu);
|
2008-12-08 05:30:24 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
void CMemoryView::OnPaint(wxPaintEvent& event)
|
2009-11-25 10:07:56 +00:00
|
|
|
{
|
|
|
|
wxPaintDC dc(this);
|
|
|
|
wxRect rc = GetClientRect();
|
|
|
|
wxFont hFont(_T("Courier"));
|
2011-07-01 14:20:33 +00:00
|
|
|
hFont.SetFamily(wxFONTFAMILY_TELETYPE);
|
|
|
|
|
|
|
|
wxCoord w,h;
|
|
|
|
dc.GetTextExtent(_T("0WJyq"),&w,&h,NULL,NULL,&hFont);
|
|
|
|
if (h > rowHeight)
|
2013-04-08 05:16:50 +00:00
|
|
|
rowHeight = h;
|
2011-07-01 14:20:33 +00:00
|
|
|
dc.GetTextExtent(_T("0WJyq"),&w,&h,NULL,NULL,&DebuggerFont);
|
|
|
|
if (h > rowHeight)
|
2013-04-08 05:16:50 +00:00
|
|
|
rowHeight = h;
|
2011-07-01 14:20:33 +00:00
|
|
|
|
2010-02-18 12:06:13 +00:00
|
|
|
if (viewAsType==VIEWAS_HEX)
|
2009-11-25 10:07:56 +00:00
|
|
|
dc.SetFont(hFont);
|
2010-02-18 12:06:13 +00:00
|
|
|
else
|
|
|
|
dc.SetFont(DebuggerFont);
|
2011-02-24 05:05:25 +00:00
|
|
|
|
2011-07-01 14:20:33 +00:00
|
|
|
dc.GetTextExtent(_T("W"),&w,&h);
|
|
|
|
int fontSize = w;
|
2011-07-01 18:32:18 +00:00
|
|
|
int textPlacement = 17 + 9 * fontSize;
|
2009-11-25 10:07:56 +00:00
|
|
|
struct branch
|
|
|
|
{
|
|
|
|
int src, dst, srcAddr;
|
|
|
|
};
|
|
|
|
|
|
|
|
// TODO: Add any drawing code here...
|
|
|
|
int width = rc.width;
|
|
|
|
int numRows = (rc.height / rowHeight) / 2 + 2;
|
|
|
|
dc.SetBackgroundMode(wxTRANSPARENT);
|
|
|
|
const wxChar* bgColor = _T("#ffffff");
|
|
|
|
wxPen nullPen(bgColor);
|
|
|
|
wxPen currentPen(_T("#000000"));
|
|
|
|
wxPen selPen(_T("#808080")); // gray
|
|
|
|
nullPen.SetStyle(wxTRANSPARENT);
|
|
|
|
|
|
|
|
wxBrush currentBrush(_T("#FFEfE8")); // light gray
|
|
|
|
wxBrush pcBrush(_T("#70FF70")); // green
|
|
|
|
wxBrush mcBrush(_T("#1133FF")); // blue
|
|
|
|
wxBrush bgBrush(bgColor);
|
|
|
|
wxBrush nullBrush(bgColor);
|
|
|
|
nullBrush.SetStyle(wxTRANSPARENT);
|
|
|
|
|
|
|
|
dc.SetPen(nullPen);
|
|
|
|
dc.SetBrush(bgBrush);
|
|
|
|
dc.DrawRectangle(0, 0, 16, rc.height);
|
|
|
|
dc.DrawRectangle(0, 0, rc.width, 5+8);
|
|
|
|
|
2010-02-18 12:06:13 +00:00
|
|
|
// TODO - clean up this freaking mess!!!!!
|
2010-02-21 18:55:00 +00:00
|
|
|
for (int row = -numRows; row <= numRows; row++)
|
2009-11-25 10:07:56 +00:00
|
|
|
{
|
2010-02-21 18:55:00 +00:00
|
|
|
unsigned int address = curAddress + row * align;
|
2009-11-25 10:07:56 +00:00
|
|
|
|
2010-02-21 18:55:00 +00:00
|
|
|
int rowY1 = rc.height / 2 + rowHeight * row - rowHeight / 2;
|
|
|
|
int rowY2 = rc.height / 2 + rowHeight * row + rowHeight / 2;
|
2009-11-25 10:07:56 +00:00
|
|
|
|
|
|
|
wxString temp = wxString::Format(_T("%08x"), address);
|
|
|
|
u32 col = debugger->getColor(address);
|
|
|
|
wxBrush rowBrush(wxColor(col >> 16, col >> 8, col));
|
|
|
|
dc.SetBrush(nullBrush);
|
|
|
|
dc.SetPen(nullPen);
|
|
|
|
dc.DrawRectangle(0, rowY1, 16, rowY2);
|
|
|
|
|
|
|
|
if (selecting && (address == selection))
|
|
|
|
dc.SetPen(selPen);
|
|
|
|
else
|
2010-02-21 18:55:00 +00:00
|
|
|
dc.SetPen(row == 0 ? currentPen : nullPen);
|
2009-11-25 10:07:56 +00:00
|
|
|
|
|
|
|
if (address == debugger->getPC())
|
|
|
|
dc.SetBrush(pcBrush);
|
|
|
|
else
|
|
|
|
dc.SetBrush(rowBrush);
|
|
|
|
|
|
|
|
dc.DrawRectangle(16, rowY1, width, rowY2 - 1);
|
|
|
|
dc.SetBrush(currentBrush);
|
|
|
|
dc.SetTextForeground(_T("#600000"));
|
|
|
|
dc.DrawText(temp, 17, rowY1);
|
2010-02-18 12:06:13 +00:00
|
|
|
|
|
|
|
if (viewAsType != VIEWAS_HEX)
|
|
|
|
{
|
|
|
|
char mem[256];
|
|
|
|
debugger->getRawMemoryString(memory, address, mem, 256);
|
|
|
|
dc.SetTextForeground(_T("#000080"));
|
2013-02-28 04:37:38 +00:00
|
|
|
dc.DrawText(StrToWxStr(mem), 17+fontSize*(8), rowY1);
|
2010-02-18 12:06:13 +00:00
|
|
|
dc.SetTextForeground(_T("#000000"));
|
2009-11-25 10:07:56 +00:00
|
|
|
}
|
2010-02-18 12:06:13 +00:00
|
|
|
|
2009-11-25 10:07:56 +00:00
|
|
|
if (debugger->isAlive())
|
|
|
|
{
|
|
|
|
char dis[256] = {0};
|
|
|
|
u32 mem_data = debugger->readExtraMemory(memory, address);
|
|
|
|
|
|
|
|
if (viewAsType == VIEWAS_FP)
|
|
|
|
{
|
|
|
|
float flt = *(float *)(&mem_data);
|
|
|
|
sprintf(dis, "f: %f", flt);
|
|
|
|
}
|
|
|
|
else if (viewAsType == VIEWAS_ASCII)
|
|
|
|
{
|
2011-03-12 00:01:33 +00:00
|
|
|
u32 a[4] = {(mem_data&0xff000000)>>24,
|
2010-02-18 12:06:13 +00:00
|
|
|
(mem_data&0xff0000)>>16,
|
|
|
|
(mem_data&0xff00)>>8,
|
|
|
|
mem_data&0xff};
|
2013-10-29 05:09:01 +00:00
|
|
|
for (auto& word : a)
|
|
|
|
if (word == '\0')
|
|
|
|
word = ' ';
|
2009-11-25 10:07:56 +00:00
|
|
|
sprintf(dis, "%c%c%c%c", a[0], a[1], a[2], a[3]);
|
|
|
|
}
|
2010-02-18 12:06:13 +00:00
|
|
|
else if (viewAsType == VIEWAS_HEX)
|
|
|
|
{
|
|
|
|
dis[0] = 0;
|
|
|
|
dis[1] = 0;
|
|
|
|
u32 mema[8] = {
|
|
|
|
debugger->readExtraMemory(memory, address),
|
|
|
|
debugger->readExtraMemory(memory, address+4),
|
|
|
|
debugger->readExtraMemory(memory, address+8),
|
|
|
|
debugger->readExtraMemory(memory, address+12),
|
|
|
|
debugger->readExtraMemory(memory, address+16),
|
|
|
|
debugger->readExtraMemory(memory, address+20),
|
|
|
|
debugger->readExtraMemory(memory, address+24),
|
|
|
|
debugger->readExtraMemory(memory, address+28)
|
|
|
|
};
|
|
|
|
|
2013-10-29 05:09:01 +00:00
|
|
|
for (auto& word : mema)
|
2010-02-18 12:06:13 +00:00
|
|
|
{
|
2010-04-08 14:58:50 +00:00
|
|
|
char buf[32] = "";
|
2010-02-18 12:06:13 +00:00
|
|
|
switch (dataType)
|
|
|
|
{
|
2009-11-25 10:07:56 +00:00
|
|
|
case 0:
|
2010-04-08 14:58:50 +00:00
|
|
|
sprintf(buf, " %02X %02X %02X %02X",
|
2013-10-29 05:09:01 +00:00
|
|
|
((word&0xff000000)>>24)&0xFF,
|
|
|
|
((word&0xff0000)>>16)&0xFF,
|
|
|
|
((word&0xff00)>>8)&0xFF,
|
|
|
|
word&0xff);
|
2010-02-18 12:06:13 +00:00
|
|
|
break;
|
2009-11-25 10:07:56 +00:00
|
|
|
case 1:
|
2010-04-08 14:58:50 +00:00
|
|
|
sprintf(buf, " %02X%02X %02X%02X",
|
2013-10-29 05:09:01 +00:00
|
|
|
((word&0xff000000)>>24)&0xFF,
|
|
|
|
((word&0xff0000)>>16)&0xFF,
|
|
|
|
((word&0xff00)>>8)&0xFF,
|
|
|
|
word&0xff);
|
2010-02-18 12:06:13 +00:00
|
|
|
break;
|
2009-11-25 10:07:56 +00:00
|
|
|
case 2:
|
2010-04-08 14:58:50 +00:00
|
|
|
sprintf(buf, " %02X%02X%02X%02X",
|
2013-10-29 05:09:01 +00:00
|
|
|
((word&0xff000000)>>24)&0xFF,
|
|
|
|
((word&0xff0000)>>16)&0xFF,
|
|
|
|
((word&0xff00)>>8)&0xFF,
|
|
|
|
word&0xff);
|
2010-02-18 12:06:13 +00:00
|
|
|
break;
|
2009-11-25 10:07:56 +00:00
|
|
|
}
|
2010-04-08 14:58:50 +00:00
|
|
|
strcat(dis, buf);
|
2009-11-25 10:07:56 +00:00
|
|
|
}
|
2010-02-18 12:06:13 +00:00
|
|
|
curAddress += 32;
|
2009-11-25 10:07:56 +00:00
|
|
|
}
|
|
|
|
else
|
2013-04-08 05:16:50 +00:00
|
|
|
{
|
2010-02-18 12:06:13 +00:00
|
|
|
sprintf(dis, "INVALID VIEWAS TYPE");
|
2013-04-08 05:16:50 +00:00
|
|
|
}
|
2008-12-08 05:30:24 +00:00
|
|
|
|
2010-02-18 12:06:13 +00:00
|
|
|
char desc[256] = "";
|
|
|
|
if (viewAsType != VIEWAS_HEX)
|
2013-02-28 04:37:38 +00:00
|
|
|
dc.DrawText(StrToWxStr(dis), textPlacement + fontSize*(8 + 8), rowY1);
|
2011-02-24 05:05:25 +00:00
|
|
|
else
|
2013-02-28 04:37:38 +00:00
|
|
|
dc.DrawText(StrToWxStr(dis), textPlacement, rowY1);
|
2011-02-24 05:05:25 +00:00
|
|
|
|
2008-12-08 05:30:24 +00:00
|
|
|
if (desc[0] == 0)
|
|
|
|
strcpy(desc, debugger->getDescription(address).c_str());
|
|
|
|
|
|
|
|
dc.SetTextForeground(_T("#0000FF"));
|
|
|
|
|
|
|
|
if (strlen(desc))
|
2013-02-28 04:37:38 +00:00
|
|
|
dc.DrawText(StrToWxStr(desc), 17+fontSize*((8+8+8+30)*2), rowY1);
|
2009-09-27 21:28:09 +00:00
|
|
|
|
|
|
|
// Show blue memory check dot
|
2010-02-18 12:06:13 +00:00
|
|
|
if (debugger->isMemCheck(address))
|
2009-09-27 21:28:09 +00:00
|
|
|
{
|
|
|
|
dc.SetBrush(mcBrush);
|
2010-02-18 12:06:13 +00:00
|
|
|
dc.DrawRectangle(8, rowY1 + 1, 11, 11);
|
2009-09-27 21:28:09 +00:00
|
|
|
}
|
2008-12-08 05:30:24 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
dc.SetPen(currentPen);
|
|
|
|
}
|
2011-02-24 05:05:25 +00:00
|
|
|
|
|
|
|
void CMemoryView::OnResize(wxSizeEvent& event)
|
|
|
|
{
|
|
|
|
Refresh();
|
|
|
|
event.Skip();
|
|
|
|
}
|