#if wxUSE_LIBGNOMEPRINT
-#include "math.h"
-
+#include "wx/math.h"
#include "wx/fontutil.h"
#include "wx/printdlg.h"
#include "wx/gtk/private.h"
#include <libgnomeprintui/gnome-print-job-preview.h>
#include <libgnomeprintui/gnome-print-paper-selector.h>
+
+#include "wx/html/forcelnk.h"
+FORCE_LINK_ME(gnome_print)
+
//----------------------------------------------------------------------------
// wxGnomePrintLibrary
//----------------------------------------------------------------------------