X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/5dd070c25bd91c12380f9aeada27a2b7b64ed1d7..3b9b80c0e25ac0ef0d162b2a8e2d8206105a485b:/src/mac/carbon/statbox.cpp?ds=sidebyside diff --git a/src/mac/carbon/statbox.cpp b/src/mac/carbon/statbox.cpp index 50e62f2b92..f4bd92905d 100644 --- a/src/mac/carbon/statbox.cpp +++ b/src/mac/carbon/statbox.cpp @@ -20,9 +20,7 @@ #include "wx/statbox.h" #include "wx/mac/uma.h" -#if !USE_SHARED_LIBRARY IMPLEMENT_DYNAMIC_CLASS(wxStaticBox, wxControl) -#endif /* * Static box @@ -76,7 +74,7 @@ void wxStaticBox::GetBordersForSizer(int *borderTop, int *borderOther) const } - *borderTop = extraTop + box->GetCharHeight(); + *borderTop = extraTop + GetCharHeight(); *borderOther = other; }