summaryrefslogtreecommitdiff
path: root/Source/Core/DolphinWX/ControllerConfigDiag.cpp
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2014-12-27 10:10:45 -0500
committerLioncash <mathew1800@gmail.com>2014-12-27 10:10:45 -0500
commit9465a877f8e896463b9f43f94016d89019d1d5d5 (patch)
treed959338a964fa313a680064689df422e4783b308 /Source/Core/DolphinWX/ControllerConfigDiag.cpp
parent3fe18de954a81355520c7041aedb9d4686e8a3ec (diff)
parent6adfa92a7e16b3674bb363a2e3ca15fe22cc96b8 (diff)
Merge pull request #1718 from lioncash/wxdoesitagain
ControllerConfigDiag: Potentially fix scaling problems on high DPI
Diffstat (limited to 'Source/Core/DolphinWX/ControllerConfigDiag.cpp')
-rw-r--r--Source/Core/DolphinWX/ControllerConfigDiag.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/Source/Core/DolphinWX/ControllerConfigDiag.cpp b/Source/Core/DolphinWX/ControllerConfigDiag.cpp
index f1a36c7efa..94724a1c49 100644
--- a/Source/Core/DolphinWX/ControllerConfigDiag.cpp
+++ b/Source/Core/DolphinWX/ControllerConfigDiag.cpp
@@ -65,6 +65,7 @@ ControllerConfigDiag::ControllerConfigDiag(wxWindow* const parent)
Bind(wxEVT_BUTTON, &ControllerConfigDiag::Save, this, wxID_OK);
Bind(wxEVT_BUTTON, &ControllerConfigDiag::Cancel, this, wxID_CANCEL);
+ SetLayoutAdaptationMode(wxDIALOG_ADAPTATION_MODE_ENABLED);
SetSizerAndFit(main_sizer);
Center();
}