From 67225fb07edb94deefc8d2e5b05431ad5e2e2d98 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Wed, 20 Dec 2017 00:29:03 +0100 Subject: [PATCH] Remove borders from wxStaticBoxSizer items in the widgets sample This allows to see better whether the borders returned by wxStaticBox::GetBordersForSizer() are correct. --- samples/widgets/static.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/samples/widgets/static.cpp b/samples/widgets/static.cpp index 5e16c71d89..8869bab39d 100644 --- a/samples/widgets/static.cpp +++ b/samples/widgets/static.cpp @@ -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);