Merge pull request #1718 from lioncash/wxdoesitagain

ControllerConfigDiag: Potentially fix scaling problems on high DPI
This commit is contained in:
Lioncash 2014-12-27 10:10:45 -05:00
commit 9465a877f8
1 changed files with 1 additions and 0 deletions

View File

@ -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();
}