From 62281fbfde78317c7a1cf0b325d0b909983e61e7 Mon Sep 17 00:00:00 2001 From: "Jasper St. Pierre" Date: Mon, 17 Jun 2013 06:45:29 -0400 Subject: [PATCH] InputConfigDiag: Give the input text field a monospace font --- Source/Core/DolphinWX/Src/InputConfigDiag.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Source/Core/DolphinWX/Src/InputConfigDiag.cpp b/Source/Core/DolphinWX/Src/InputConfigDiag.cpp index a8be1b56a4..aebc201bc9 100644 --- a/Source/Core/DolphinWX/Src/InputConfigDiag.cpp +++ b/Source/Core/DolphinWX/Src/InputConfigDiag.cpp @@ -489,7 +489,10 @@ wxStaticBoxSizer* ControlDialog::CreateControlChooser(GamepadPage* const parent) { wxStaticBoxSizer* const main_szr = new wxStaticBoxSizer(wxVERTICAL, this, control_reference->is_input ? _("Input") : _("Output")); - textctrl = new wxTextCtrl(this, -1, wxEmptyString, wxDefaultPosition, wxSize(-1, 48), wxTE_MULTILINE); + textctrl = new wxTextCtrl(this, -1, wxEmptyString, wxDefaultPosition, wxSize(-1, 48), wxTE_MULTILINE | wxTE_RICH2); + wxFont font = textctrl->GetFont(); + font.SetFamily(wxFONTFAMILY_MODERN); + textctrl->SetFont(font); wxButton* const detect_button = new wxButton(this, -1, control_reference->is_input ? _("Detect") : _("Test"));