// 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; \
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_meta)
+
#endif // _WX_FORCELNK_H_