X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/38b1843b5cd8aad98dc91a45f93a4171c4ff37a2..10da53a25017db251249c42ed21802cb47c9cafc:/src/gtk/statbox.cpp diff --git a/src/gtk/statbox.cpp b/src/gtk/statbox.cpp index 56cd02327b..ec1ee9d101 100644 --- a/src/gtk/statbox.cpp +++ b/src/gtk/statbox.cpp @@ -156,7 +156,7 @@ void wxStaticBox::GetBordersForSizer(int *borderTop, int *borderOther) const { const int BORDER = 5; // FIXME: hardcoded value - *borderTop = GetLabel().empty() ? 2*BORDER : GetCharHeight(); + *borderTop = GetCharHeight(); *borderOther = BORDER; }