]> git.saurik.com Git - wxWidgets.git/blobdiff - src/mac/palette.cpp
more fixes to radio menu items: fixed Check() for them; allow separators inside the...
[wxWidgets.git] / src / mac / 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