]> git.saurik.com Git - wxWidgets.git/blobdiff - src/mac/carbon/gdiobj.cpp
64bit fix for patch as well
[wxWidgets.git] / src / mac / carbon / gdiobj.cpp
index 436c1b612dd67925899f968bc933595e0f541e55..a4bbc91059171aa1a6d1c712a63c1494c449bde1 100644 (file)
 
 #ifndef WX_PRECOMP
     #include "wx/gdicmn.h"
+    #include "wx/module.h"
 #endif
 
-#include "wx/module.h"
+#include "wx/link.h"
 #include "wx/mac/private.h"
 
+// Linker will discard entire object file without this
+wxFORCE_LINK_THIS_MODULE(gdiobj)
+
 class wxStockGDIMac: public wxStockGDI, public wxModule
 {
 public: