diff --git a/src/gtk/app.cpp b/src/gtk/app.cpp index e722bcace7..e370b54665 100644 --- a/src/gtk/app.cpp +++ b/src/gtk/app.cpp @@ -80,6 +80,12 @@ #include +#if wxUSE_LIBGNOMEPRINT + +#include "wx/html/forcelnk.h" +FORCE_LINK(gnome_print) + +#endif //----------------------------------------------------------------------------- // global data diff --git a/src/gtk/gnome/gprint.cpp b/src/gtk/gnome/gprint.cpp index d776d44acd..c761a15e96 100644 --- a/src/gtk/gnome/gprint.cpp +++ b/src/gtk/gnome/gprint.cpp @@ -38,6 +38,10 @@ #include #include + +#include "wx/html/forcelnk.h" +FORCE_LINK_ME(gnome_print) + //---------------------------------------------------------------------------- // wxGnomePrintLibrary //---------------------------------------------------------------------------- diff --git a/src/gtk1/app.cpp b/src/gtk1/app.cpp index e722bcace7..e370b54665 100644 --- a/src/gtk1/app.cpp +++ b/src/gtk1/app.cpp @@ -80,6 +80,12 @@ #include +#if wxUSE_LIBGNOMEPRINT + +#include "wx/html/forcelnk.h" +FORCE_LINK(gnome_print) + +#endif //----------------------------------------------------------------------------- // global data diff --git a/src/gtk1/gnome/gprint.cpp b/src/gtk1/gnome/gprint.cpp index d776d44acd..c761a15e96 100644 --- a/src/gtk1/gnome/gprint.cpp +++ b/src/gtk1/gnome/gprint.cpp @@ -38,6 +38,10 @@ #include #include + +#include "wx/html/forcelnk.h" +FORCE_LINK_ME(gnome_print) + //---------------------------------------------------------------------------- // wxGnomePrintLibrary //----------------------------------------------------------------------------