Added support for GNOME print in static builds
also by adding the FORCE_LINK() statements. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30836 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
4ea56379e3
commit
d6c6acd640
@ -80,6 +80,12 @@
|
||||
|
||||
#include <gtk/gtk.h>
|
||||
|
||||
#if wxUSE_LIBGNOMEPRINT
|
||||
|
||||
#include "wx/html/forcelnk.h"
|
||||
FORCE_LINK(gnome_print)
|
||||
|
||||
#endif
|
||||
|
||||
//-----------------------------------------------------------------------------
|
||||
// global data
|
||||
|
@ -38,6 +38,10 @@
|
||||
#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
|
||||
//----------------------------------------------------------------------------
|
||||
|
@ -80,6 +80,12 @@
|
||||
|
||||
#include <gtk/gtk.h>
|
||||
|
||||
#if wxUSE_LIBGNOMEPRINT
|
||||
|
||||
#include "wx/html/forcelnk.h"
|
||||
FORCE_LINK(gnome_print)
|
||||
|
||||
#endif
|
||||
|
||||
//-----------------------------------------------------------------------------
|
||||
// global data
|
||||
|
@ -38,6 +38,10 @@
|
||||
#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
|
||||
//----------------------------------------------------------------------------
|
||||
|
Loading…
Reference in New Issue
Block a user