X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/5dd070c25bd91c12380f9aeada27a2b7b64ed1d7..e822273ae06f802550bc2627ffaf45d14f773721:/src/mac/carbon/statbox.cpp 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; }