X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/0bf1e7cb96fc13d063f63c120983afa5a1537d0e..73ed39b580977913998bbb988e52e474fe9835ae:/src/mac/carbon/statbmp.cpp diff --git a/src/mac/carbon/statbmp.cpp b/src/mac/carbon/statbmp.cpp index abe7a951b2..1ebe5ec765 100644 --- a/src/mac/carbon/statbmp.cpp +++ b/src/mac/carbon/statbmp.cpp @@ -9,11 +9,13 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma implementation "statbmp.h" #endif -#include "wx/defs.h" +#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 +