Merge pull request #4208 from aldelaro5/more-debugger-font-fix

Fix the debugger font not appearing on the captions of panes (DSP)
This commit is contained in:
Scott Mansell 2016-09-14 18:09:28 +12:00 committed by GitHub
commit 4e595ca25f
1 changed files with 3 additions and 0 deletions

View File

@ -5,6 +5,7 @@
#include <cstdio>
#include <wx/artprov.h>
#include <wx/aui/auibook.h>
#include <wx/aui/dockart.h>
#include <wx/aui/framemanager.h>
#include <wx/listbox.h>
#include <wx/panel.h>
@ -23,6 +24,7 @@
#include "DolphinWX/Debugger/CodeView.h"
#include "DolphinWX/Debugger/DSPDebugWindow.h"
#include "DolphinWX/Debugger/DSPRegisterView.h"
#include "DolphinWX/Debugger/DebuggerUIUtil.h"
#include "DolphinWX/Debugger/MemoryView.h"
#include "DolphinWX/WxUtils.h"
@ -97,6 +99,7 @@ DSPDebuggerLLE::DSPDebuggerLLE(wxWindow* parent, wxWindowID id)
m_mgr.AddPane(m_Regs,
wxAuiPaneInfo().Right().CloseButton(false).Caption(_("Registers")).Dockable(true));
m_mgr.GetArtProvider()->SetFont(wxAUI_DOCKART_CAPTION_FONT, DebuggerFont);
UpdateState();
m_mgr.Update();