X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/ad81651f00edc6f489d9b6a0839d316a964fd521..ba0b7b323817e44903ba5ee199d17bbb166ed3d5:/src/mac/carbon/palette.cpp?ds=sidebyside

diff --git a/src/mac/carbon/palette.cpp b/src/mac/carbon/palette.cpp
index 676f54739a..85a9fd16d8 100644
--- a/src/mac/carbon/palette.cpp
+++ b/src/mac/carbon/palette.cpp
@@ -15,7 +15,9 @@
 
 #include "wx/palette.h"
 
+#if !USE_SHARED_LIBRARIES
 IMPLEMENT_DYNAMIC_CLASS(wxPalette, wxGDIObject)
+#endif
 
 /*
  * Palette