ControllerConfigDiag: Potentially fix scaling problems on high DPI

Fixes issue 7940 hopefully.
This commit is contained in:
Lioncash 2014-12-19 14:43:29 -05:00
parent ca18e51450
commit 6adfa92a7e
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();
}