]> git.saurik.com Git - wxWidgets.git/blobdiff - src/html/htmprint.cpp
fixed compilation in Unicode build
[wxWidgets.git] / src / html / htmprint.cpp
index b3eee134e879b03ea4af2c50ae7de656bc4dab49..3dd7639e7b7380dac3df8e8708016d23b6d5b158 100644 (file)
@@ -595,5 +595,9 @@ wxHtmlPrintout *wxHtmlEasyPrinting::CreatePrintout()
 }
 
 
 }
 
 
+// This hack forces the linker to always link in m_* files
+// (wxHTML doesn't work without handlers from these files)
+#include "wx/html/forcelnk.h"
+FORCE_WXHTML_MODULES()
 
 #endif // wxUSE_HTML & wxUSE_PRINTING_ARCHITECTURE
 
 #endif // wxUSE_HTML & wxUSE_PRINTING_ARCHITECTURE