Expand button sizer in webrequest sample

This commit is contained in:
Tobias Taschner 2018-11-12 17:32:36 +01:00
parent 37df063a26
commit 5077eaee6c
No known key found for this signature in database
GPG Key ID: AE6ECD71294F87FD

View File

@ -153,7 +153,7 @@ public:
m_startButton->Bind(wxEVT_BUTTON, &WebRequestFrame::OnStartButton, this);
btnSizer->AddButton(m_startButton);
btnSizer->Realize();
mainSizer->Add(btnSizer, wxSizerFlags().Border());
mainSizer->Add(btnSizer, wxSizerFlags().Expand().Border());
wxCommandEvent evt;
OnPostCheckBox(evt);