diff --git a/src/msw/statbox.cpp b/src/msw/statbox.cpp index 6ecb72dff2..ef01a49a6a 100644 --- a/src/msw/statbox.cpp +++ b/src/msw/statbox.cpp @@ -198,8 +198,7 @@ void wxStaticBox::GetBordersForSizer(int *borderTop, int *borderOther) const // calculations, we need to add some extra margin or otherwise static box // title is clipped #if !wxDIALOG_UNIT_COMPATIBILITY - if ( !GetLabel().empty() ) - *borderTop += GetCharHeight()/3; + *borderTop += GetCharHeight()/3; #endif // !wxDIALOG_UNIT_COMPATIBILITY }