X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/ad81651f00edc6f489d9b6a0839d316a964fd521..6ba636000f13b4bf7d3e7dcfad429713085f6700:/src/mac/accel.cpp?ds=sidebyside

diff --git a/src/mac/accel.cpp b/src/mac/accel.cpp
index f8796e111a..b0b8734d55 100644
--- a/src/mac/accel.cpp
+++ b/src/mac/accel.cpp
@@ -17,7 +17,9 @@
 #include "wx/accel.h"
 #include "wx/string.h"
 
+#if !USE_SHARED_LIBRARIES
 IMPLEMENT_DYNAMIC_CLASS(wxAcceleratorTable, wxObject)
+#endif
 
 class WXDLLEXPORT wxAcceleratorRefData: public wxObjectRefData
 {