]> git.saurik.com Git - wxWidgets.git/blobdiff - src/mac/gdiobj.cpp
Don't do the wx cleanup if wxPython didn't do the initialization.
[wxWidgets.git] / src / mac / gdiobj.cpp
index 46b1aa871fc57fd8ed02bd1ad813ad4655bfb5bd..63697c835427fdea399f1bf61d3a3b046d4af9c9 100644 (file)
@@ -15,6 +15,8 @@
 
 #include "wx/gdiobj.h"
 
+#if !USE_SHARED_LIBRARIES
 IMPLEMENT_DYNAMIC_CLASS(wxGDIObject, wxObject)
+#endif
 
 // TODO: Nothing to do, unless you want to.