]> git.saurik.com Git - wxWidgets.git/blobdiff - src/mac/carbon/palette.cpp
adjusted for new visible region code
[wxWidgets.git] / src / mac / carbon / palette.cpp
index 676f54739aa1b8b2be49a6e394ad455461566535..1c18196135861acd9c20f81456b50ce4ef9b34dd 100644 (file)
 #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