X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/3d1a4878f36ba4b5f66c2ccfd2cb27a9dc528b6f..5f7348ce627157e21bec507623ebd31c1e9dc762:/src/mac/carbon/statbmp.cpp?ds=sidebyside diff --git a/src/mac/carbon/statbmp.cpp b/src/mac/carbon/statbmp.cpp index cb22a96bed..9a13660d97 100644 --- a/src/mac/carbon/statbmp.cpp +++ b/src/mac/carbon/statbmp.cpp @@ -15,12 +15,12 @@ #include "wx/wxprec.h" +#if wxUSE_STATBMP + #include "wx/statbmp.h" #include "wx/dcclient.h" -#if !USE_SHARED_LIBRARY IMPLEMENT_DYNAMIC_CLASS(wxStaticBitmap, wxControl) -#endif /* * wxStaticBitmap @@ -81,3 +81,5 @@ wxSize wxStaticBitmap::DoGetBestSize() const return DoGetSizeFromClientSize( wxSize(16, 16) ); } +#endif +