X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/5dd070c25bd91c12380f9aeada27a2b7b64ed1d7..2ddb4d13585d5235556119fb1937273da9e433a3:/src/mac/carbon/statbox.cpp diff --git a/src/mac/carbon/statbox.cpp b/src/mac/carbon/statbox.cpp index 50e62f2b92..2bff927aae 100644 --- a/src/mac/carbon/statbox.cpp +++ b/src/mac/carbon/statbox.cpp @@ -9,10 +9,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) -#pragma implementation "statbox.h" -#endif - #include "wx/wxprec.h" #if wxUSE_STATBOX @@ -20,9 +16,7 @@ #include "wx/statbox.h" #include "wx/mac/uma.h" -#if !USE_SHARED_LIBRARY IMPLEMENT_DYNAMIC_CLASS(wxStaticBox, wxControl) -#endif /* * Static box @@ -76,7 +70,7 @@ void wxStaticBox::GetBordersForSizer(int *borderTop, int *borderOther) const } - *borderTop = extraTop + box->GetCharHeight(); + *borderTop = extraTop + GetCharHeight(); *borderOther = other; }