aboutsummaryrefslogtreecommitdiffstats
path: root/gui/wxapp.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'gui/wxapp.hpp')
-rw-r--r--gui/wxapp.hpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/gui/wxapp.hpp b/gui/wxapp.hpp
index 6536554..010e3e0 100644
--- a/gui/wxapp.hpp
+++ b/gui/wxapp.hpp
@@ -4,11 +4,14 @@
#include "wxmain.hpp"
#include <wx/app.h>
+#include <wx/font.h>
class MainApp : public wxApp
{
public:
virtual bool OnInit() final {
+ wxFont::AddPrivateFont("./Hack-Regular.ttf");
+
auto mainFrame = new MainFrame;
mainFrame->Show(true);
SetTopWindow(mainFrame);