HotkeyInputConfigDiag: set DeviceRelatedSizer to wxEXPAND

Somehow it acts as though it has wxEXPAND, but that stops working if the
code is edited (as in the next commit).
This commit is contained in:
Michael Maltese 2017-02-07 18:21:51 -08:00
parent f0c2bae778
commit a1978c28f9
1 changed files with 1 additions and 1 deletions

View File

@ -30,7 +30,7 @@ wxBoxSizer* HotkeyInputConfigDialog::CreateMainSizer()
auto* const main_sizer = new wxBoxSizer(wxVERTICAL); auto* const main_sizer = new wxBoxSizer(wxVERTICAL);
main_sizer->AddSpacer(space5); main_sizer->AddSpacer(space5);
main_sizer->Add(CreateDeviceRelatedSizer()); main_sizer->Add(CreateDeviceRelatedSizer(), 0, wxEXPAND | wxLEFT | wxRIGHT);
main_sizer->AddSpacer(space5); main_sizer->AddSpacer(space5);
main_sizer->Add(m_notebook, 1, wxEXPAND | wxLEFT | wxRIGHT, space5); main_sizer->Add(m_notebook, 1, wxEXPAND | wxLEFT | wxRIGHT, space5);
main_sizer->AddSpacer(space5); main_sizer->AddSpacer(space5);