X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/2f1ae4143271ae63a17e052a1a471d16e9cd8c44..7d1f4c3ff01b09105c07d5e176a14428c834975e:/src/mac/palette.cpp?ds=inline diff --git a/src/mac/palette.cpp b/src/mac/palette.cpp index 85a9fd16d8..1c18196135 100644 --- a/src/mac/palette.cpp +++ b/src/mac/palette.cpp @@ -13,6 +13,10 @@ #pragma implementation "palette.h" #endif +#include "wx/defs.h" + +#if wxUSE_PALETTE + #include "wx/palette.h" #if !USE_SHARED_LIBRARIES @@ -106,4 +110,6 @@ bool wxPalette::GetRGB(int index, unsigned char *red, unsigned char *green, unsi return TRUE; } +#endif + // wxUSE_PALETTE