]> git.saurik.com Git - wxWidgets.git/blobdiff - src/mac/carbon/statbox.cpp
readability cleanup
[wxWidgets.git] / src / mac / carbon / statbox.cpp
index 50e62f2b92681269f9c36d0e2c44e2f8cbbfef18..2bff927aae4d88f95598f38b48f97015316a09fe 100644 (file)
@@ -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;
 }