]> git.saurik.com Git - wxWidgets.git/blobdiff - src/mac/carbon/statbox.cpp
__WXDEBUG__ must be tested with #ifdef, not #if
[wxWidgets.git] / src / mac / carbon / statbox.cpp
index 50e62f2b92681269f9c36d0e2c44e2f8cbbfef18..f4bd92905d414b4dd953973566bba31656dede0d 100644 (file)
@@ -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;
 }