diff --git a/src/mac/carbon/statbox.cpp b/src/mac/carbon/statbox.cpp index 50e62f2b92..d0e09ff227 100644 --- a/src/mac/carbon/statbox.cpp +++ b/src/mac/carbon/statbox.cpp @@ -76,7 +76,7 @@ void wxStaticBox::GetBordersForSizer(int *borderTop, int *borderOther) const } - *borderTop = extraTop + box->GetCharHeight(); + *borderTop = extraTop + GetCharHeight(); *borderOther = other; }