Remove borders from wxStaticBoxSizer items in the widgets sample

This allows to see better whether the borders returned by
wxStaticBox::GetBordersForSizer() are correct.
This commit is contained in:
Vadim Zeitlin 2017-12-20 00:29:03 +01:00
parent 91875045ac
commit 67225fb07e

View File

@ -551,12 +551,12 @@ void StaticWidgetsPage::CreateStatic()
isVert ? wxLI_VERTICAL : wxLI_HORIZONTAL);
#endif // wxUSE_STATLINE
m_sizerStatBox->Add(m_statText, 0, wxGROW | wxALL, 5);
m_sizerStatBox->Add(m_statText, 0, wxGROW);
#if wxUSE_STATLINE
m_sizerStatBox->Add(m_statLine, 0, wxGROW | wxALL, 5);
m_sizerStatBox->Add(m_statLine, 0, wxGROW | wxTOP | wxBOTTOM, 10);
#endif // wxUSE_STATLINE
#if wxUSE_MARKUP
m_sizerStatBox->Add(m_statMarkup, 0, wxALL, 5);
m_sizerStatBox->Add(m_statMarkup);
#endif // wxUSE_MARKUP
m_sizerStatic->Add(m_sizerStatBox, 0, wxGROW);