diff options
| author | Shawn Hoffman <godisgovernment@gmail.com> | 2009-02-06 18:18:20 +0000 |
|---|---|---|
| committer | Shawn Hoffman <godisgovernment@gmail.com> | 2009-02-06 18:18:20 +0000 |
| commit | 60b25def1819e34e8bd0a285da5c09271b64fade (patch) | |
| tree | cef5dac5f6319b28deff06fe4d35a188235087b4 /Source/Core/DebuggerWX/Src/LogWindow.cpp | |
| parent | 81631d8452477d4e3cbf5ac7ae180bc5da768fae (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/LogWindow.cpp')
| -rw-r--r-- | Source/Core/DebuggerWX/Src/LogWindow.cpp | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/Source/Core/DebuggerWX/Src/LogWindow.cpp b/Source/Core/DebuggerWX/Src/LogWindow.cpp index 252d0411fc..2e9cab2ee6 100644 --- a/Source/Core/DebuggerWX/Src/LogWindow.cpp +++ b/Source/Core/DebuggerWX/Src/LogWindow.cpp @@ -26,7 +26,6 @@ #include "Core.h" // for Core::GetState() #include "LogWindow.h" #include "Console.h" -#include "IniFile.h" BEGIN_EVENT_TABLE(CLogWindow, wxDialog) EVT_BUTTON(IDM_SUBMITCMD, CLogWindow::OnSubmit) @@ -84,7 +83,9 @@ CLogWindow::CLogWindow(wxWindow* parent) // right windows ----------------------------------------------------- m_log = new wxTextCtrl(this, IDM_LOG, _T(""), wxDefaultPosition, wxSize(600, 120), wxTE_MULTILINE | wxTE_READONLY | wxTE_DONTWRAP); + m_log->SetFont(DebuggerFont); m_cmdline = new wxTextCtrl(this, wxID_ANY, _T(""), wxDefaultPosition); + m_cmdline->SetFont(DebuggerFont); wxButton* btn = new wxButton(this, IDM_SUBMITCMD, _T("Submit")); sizerTop->Add(new wxButton(this, IDM_UPDATELOG, _T("Update"))); @@ -510,6 +511,6 @@ void CLogWindow::UpdateLog() m_log->SetValue(wxString::FromAscii(m_logBuffer)); m_log->SetInsertionPoint(p - m_logBuffer - 1); m_log->ShowPosition( m_log->GetLastPosition()); // show last line + m_log->SetFont(DebuggerFont); + m_cmdline->SetFont(DebuggerFont); } - - |
