X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/69941f05864fa8b37856ccc1338124bfac756a2b..cba5a276e4821a0ae7d1e7a435d6aab38baa0a9f:/include/wx/html/forcelnk.h diff --git a/include/wx/html/forcelnk.h b/include/wx/html/forcelnk.h index 16485fdd57..87c6b5a041 100644 --- a/include/wx/html/forcelnk.h +++ b/include/wx/html/forcelnk.h @@ -44,6 +44,7 @@ See mod_*.cpp and htmlwin.cpp for example :-) // This must be part of the module you want to force: #define FORCE_LINK_ME(module_name) \ + int _link_dummy_func_##module_name (); \ int _link_dummy_func_##module_name () \ { \ return 1; \ @@ -56,5 +57,17 @@ See mod_*.cpp and htmlwin.cpp for example :-) static int _link_dummy_var_##module_name = \ _link_dummy_func_##module_name (); +#define FORCE_WXHTML_MODULES() \ + FORCE_LINK(m_layout) \ + FORCE_LINK(m_fonts) \ + FORCE_LINK(m_image) \ + FORCE_LINK(m_list) \ + FORCE_LINK(m_dflist) \ + FORCE_LINK(m_pre) \ + FORCE_LINK(m_hline) \ + FORCE_LINK(m_links) \ + FORCE_LINK(m_tables) \ + FORCE_LINK(m_style) + #endif // _WX_FORCELNK_H_