From 2edd9a15ba94574237c22509b6b917f6957ec6e8 Mon Sep 17 00:00:00 2001 From: Shawn Hoffman Date: Sat, 21 Mar 2009 01:00:33 +0000 Subject: [PATCH] PBView "updates" now, i still dunno if it ever showed real values... git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2711 8ced0084-cf51-0410-be5f-012b33b47a6e --- .../Plugins/Plugin_DSP_HLE/Src/Debugger/PBView.cpp | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) diff --git a/Source/Plugins/Plugin_DSP_HLE/Src/Debugger/PBView.cpp b/Source/Plugins/Plugin_DSP_HLE/Src/Debugger/PBView.cpp index 2aa0ddb5d5..33df6137c9 100644 --- a/Source/Plugins/Plugin_DSP_HLE/Src/Debugger/PBView.cpp +++ b/Source/Plugins/Plugin_DSP_HLE/Src/Debugger/PBView.cpp @@ -30,6 +30,12 @@ extern const char* GetGRPName(unsigned int index); CPBView::CPBView(wxWindow* parent, const wxWindowID id, const wxPoint& pos, const wxSize& size, long style) : wxListCtrl(parent, id, pos, size, style) { +} + +void CPBView::Update() +{ + ClearAll(); + InsertColumn(1, wxT("upd4"), wxLIST_FORMAT_LEFT, 90); InsertColumn(1, wxT("upd3"), wxLIST_FORMAT_LEFT, 90); InsertColumn(1, wxT("upd2"), wxLIST_FORMAT_LEFT, 90); @@ -60,18 +66,10 @@ CPBView::CPBView(wxWindow* parent, const wxWindowID id, const wxPoint& pos, cons InsertColumn(0, wxT("run"), wxLIST_FORMAT_RIGHT, 50); InsertColumn(0, wxT("Block"), wxLIST_FORMAT_CENTER, 40); - SetFont(wxFont(9, wxMODERN, wxNORMAL, wxNORMAL, false, wxT("monospace"))); - for (int i = 0; i < 64; i++) { InsertItemInReportView(i); } - Refresh(); -} - -void CPBView::Update() -{ - Refresh(); } void CPBView::InsertItemInReportView(int _Row)