X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/ad81651f00edc6f489d9b6a0839d316a964fd521..142b3bc26a6e93f5857bc053c7748b2c845c4a8e:/src/mac/carbon/palette.cpp?ds=inline diff --git a/src/mac/carbon/palette.cpp b/src/mac/carbon/palette.cpp index 676f54739a..1c18196135 100644 --- a/src/mac/carbon/palette.cpp +++ b/src/mac/carbon/palette.cpp @@ -13,9 +13,15 @@ #pragma implementation "palette.h" #endif +#include "wx/defs.h" + +#if wxUSE_PALETTE + #include "wx/palette.h" +#if !USE_SHARED_LIBRARIES IMPLEMENT_DYNAMIC_CLASS(wxPalette, wxGDIObject) +#endif /* * Palette @@ -104,4 +110,6 @@ bool wxPalette::GetRGB(int index, unsigned char *red, unsigned char *green, unsi return TRUE; } +#endif + // wxUSE_PALETTE