X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/04dbb6467be8f564f380bd9a1106fbdecbd26a98..758bce950ba9236d0a9edc4c880c3ec73b5173f3:/src/html/htmprint.cpp?ds=inline diff --git a/src/html/htmprint.cpp b/src/html/htmprint.cpp index 4c6c3e688d..3dd7639e7b 100644 --- a/src/html/htmprint.cpp +++ b/src/html/htmprint.cpp @@ -25,10 +25,12 @@ #ifndef WX_PRECOMP #include "wx/log.h" #include "wx/intl.h" + #include "wx/dc.h" #endif #if wxUSE_HTML && wxUSE_PRINTING_ARCHITECTURE && wxUSE_STREAMS +#include "wx/dc.h" #include "wx/print.h" #include "wx/printdlg.h" #include "wx/html/htmprint.h" @@ -593,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