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