moving static box construction - z Order makes checkboxes nonresponsive otherwise on OSX
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@63888 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
e793ec1449
commit
f68376d932
@ -2561,6 +2561,9 @@ TestMessageBoxDialog::TestMessageBoxDialog(wxWindow *parent)
|
||||
|
||||
|
||||
// this one is for configuring the buttons
|
||||
wxSizer * const
|
||||
sizerBtnsBox = new wxStaticBoxSizer(wxVERTICAL, this, "&Buttons");
|
||||
|
||||
wxFlexGridSizer * const sizerBtns = new wxFlexGridSizer(2, 5, 5);
|
||||
sizerBtns->AddGrowableCol(1);
|
||||
|
||||
@ -2582,8 +2585,6 @@ TestMessageBoxDialog::TestMessageBoxDialog(wxWindow *parent)
|
||||
this);
|
||||
}
|
||||
|
||||
wxSizer * const
|
||||
sizerBtnsBox = new wxStaticBoxSizer(wxVERTICAL, this, "&Buttons");
|
||||
sizerBtnsBox->Add(sizerBtns, wxSizerFlags(1).Expand());
|
||||
sizerTop->Add(sizerBtnsBox, wxSizerFlags().Expand().Border());
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user