X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/0bf1e7cb96fc13d063f63c120983afa5a1537d0e..dec48aa578d886cf26559dc80141fac5f628ff08:/src/mac/carbon/statbmp.cpp diff --git a/src/mac/carbon/statbmp.cpp b/src/mac/carbon/statbmp.cpp index abe7a951b2..9a13660d97 100644 --- a/src/mac/carbon/statbmp.cpp +++ b/src/mac/carbon/statbmp.cpp @@ -9,18 +9,18 @@ // 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" -#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 +