X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/3d1a4878f36ba4b5f66c2ccfd2cb27a9dc528b6f..0d5eaa50960aa239d910fc271f5282f24c0937cb:/src/mac/carbon/statbmp.cpp diff --git a/src/mac/carbon/statbmp.cpp b/src/mac/carbon/statbmp.cpp index cb22a96bed..1ebe5ec765 100644 --- a/src/mac/carbon/statbmp.cpp +++ b/src/mac/carbon/statbmp.cpp @@ -15,6 +15,8 @@ #include "wx/wxprec.h" +#if wxUSE_STATBMP + #include "wx/statbmp.h" #include "wx/dcclient.h" @@ -81,3 +83,5 @@ wxSize wxStaticBitmap::DoGetBestSize() const return DoGetSizeFromClientSize( wxSize(16, 16) ); } +#endif +