summaryrefslogtreecommitdiff
path: root/Source/Core/DebuggerWX/Src/RegisterView.cpp
diff options
context:
space:
mode:
authorShawn Hoffman <godisgovernment@gmail.com>2009-02-06 18:18:20 +0000
committerShawn Hoffman <godisgovernment@gmail.com>2009-02-06 18:18:20 +0000
commit60b25def1819e34e8bd0a285da5c09271b64fade (patch)
treecef5dac5f6319b28deff06fe4d35a188235087b4 /Source/Core/DebuggerWX/Src/RegisterView.cpp
parent81631d8452477d4e3cbf5ac7ae180bc5da768fae (diff)
Allow changing of the debugger font and some cleanup
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2127 8ced0084-cf51-0410-be5f-012b33b47a6e
Diffstat (limited to 'Source/Core/DebuggerWX/Src/RegisterView.cpp')
-rw-r--r--Source/Core/DebuggerWX/Src/RegisterView.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/Source/Core/DebuggerWX/Src/RegisterView.cpp b/Source/Core/DebuggerWX/Src/RegisterView.cpp
index fac3287702..2444e98b96 100644
--- a/Source/Core/DebuggerWX/Src/RegisterView.cpp
+++ b/Source/Core/DebuggerWX/Src/RegisterView.cpp
@@ -92,7 +92,7 @@ wxGridCellAttr *CRegTable::GetAttr(int row, int col, wxGridCellAttr::wxAttrKind)
wxGridCellAttr *attr = new wxGridCellAttr();
attr->SetBackgroundColour(wxColour(wxT("#FFFFFF")));
- attr->SetFont(DefaultFont);
+ attr->SetFont(DebuggerFont);
switch (col) {
case 1:
@@ -120,10 +120,9 @@ CRegisterView::CRegisterView(wxWindow *parent, wxWindowID id)
: wxGrid(parent, id)
{
SetTable(new CRegTable(), true);
- EnableGridLines(false);
SetRowLabelSize(0);
SetColLabelSize(0);
- DisableDragGridSize();
+ DisableDragRowSize();
AutoSizeColumns();
}