#if wxUSE_PRINTING_ARCHITECTURE && (!defined(__WXMSW__) || wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW)
+#include "wx/generic/prntdlgg.h"
+
#ifndef WX_PRECOMP
#include "wx/utils.h"
#include "wx/dc.h"
#include "wx/statline.h"
#endif
-#include "wx/generic/prntdlgg.h"
-
#if wxUSE_POSTSCRIPT
#include "wx/generic/dcpsg.h"
#endif
#include <string.h>
#if wxUSE_LIBGNOMEPRINT
-#include "wx/html/forcelnk.h"
-FORCE_LINK(gnome_print)
+ #include "wx/link.h"
+ wxFORCE_LINK_MODULE(gnome_print)
#endif
// ----------------------------------------------------------------------------
#include "wx/font.h"
#endif
-#include "wx/file.h"
-#include "wx/filename.h"
#include "wx/thread.h"
#ifdef __WXGPE__
#include <gpe/init.h>
#endif
-#ifdef __WXUNIVERSAL__
- #include "wx/univ/theme.h"
- #include "wx/univ/renderer.h"
-#endif
-
#include "wx/gtk/win_gtk.h"
#include "wx/gtk/private.h"
// link GnomeVFS
//-----------------------------------------------------------------------------
-#if wxUSE_LIBGNOMEVFS
-#include "wx/html/forcelnk.h"
-FORCE_LINK(gnome_vfs)
+#if wxUSE_MIMETYPE && wxUSE_LIBGNOMEVFS
+ #include "wx/link.h"
+ wxFORCE_LINK_MODULE(gnome_vfs)
#endif
//-----------------------------------------------------------------------------
#pragma hdrstop
#endif
-#include "wx/gtk/gnome/gprint.h"
-
#if wxUSE_LIBGNOMEPRINT
+#include "wx/gtk/gnome/gprint.h"
+
#ifndef WX_PRECOMP
#include "wx/log.h"
#include "wx/dcmemory.h"
static const double RAD2DEG = 180.0 / M_PI;
-#include "wx/html/forcelnk.h"
-FORCE_LINK_ME(gnome_print)
+#include "wx/link.h"
+wxFORCE_LINK_THIS_MODULE(gnome_print)
//----------------------------------------------------------------------------
// wxGnomePrintLibrary
#pragma hdrstop
#endif
-#include "wx/gtk/gnome/gvfs.h"
-
#if wxUSE_MIMETYPE && wxUSE_LIBGNOMEVFS
+#include "wx/gtk/gnome/gvfs.h"
+
#ifndef WX_PRECOMP
#include "wx/log.h"
#include "wx/module.h"
#endif
#include "wx/mimetype.h"
-#include "wx/gtk/private.h"
#include "wx/dynlib.h"
#include <libgnomevfs/gnome-vfs-mime-handlers.h>
-#include "wx/html/forcelnk.h"
-FORCE_LINK_ME(gnome_vfs)
+#include "wx/link.h"
+wxFORCE_LINK_THIS_MODULE(gnome_vfs)
//----------------------------------------------------------------------------
// wxGnomeVFSLibrary