]> git.saurik.com Git - wxWidgets.git/commitdiff
Added support for GNOME print in static builds
authorRobert Roebling <robert@roebling.de>
Wed, 1 Dec 2004 21:35:26 +0000 (21:35 +0000)
committerRobert Roebling <robert@roebling.de>
Wed, 1 Dec 2004 21:35:26 +0000 (21:35 +0000)
   also by adding the FORCE_LINK() statements.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30836 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/gtk/app.cpp
src/gtk/gnome/gprint.cpp
src/gtk1/app.cpp
src/gtk1/gnome/gprint.cpp

index e722bcace7ef61c58036b9e600adae8c4f75c825..e370b546658ea0c546f4c0c0cb078839a0923903 100644 (file)
 
 #include <gtk/gtk.h>
 
 
 #include <gtk/gtk.h>
 
+#if wxUSE_LIBGNOMEPRINT
+
+#include "wx/html/forcelnk.h"
+FORCE_LINK(gnome_print)
+
+#endif
 
 //-----------------------------------------------------------------------------
 // global data
 
 //-----------------------------------------------------------------------------
 // global data
index d776d44acd11268a115b15e4303d8df86f0be599..c761a15e96c85d036c2082e4864d6987dc574db7 100644 (file)
 #include <libgnomeprintui/gnome-print-job-preview.h>
 #include <libgnomeprintui/gnome-print-paper-selector.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
 //----------------------------------------------------------------------------
 //----------------------------------------------------------------------------
 // wxGnomePrintLibrary
 //----------------------------------------------------------------------------
index e722bcace7ef61c58036b9e600adae8c4f75c825..e370b546658ea0c546f4c0c0cb078839a0923903 100644 (file)
 
 #include <gtk/gtk.h>
 
 
 #include <gtk/gtk.h>
 
+#if wxUSE_LIBGNOMEPRINT
+
+#include "wx/html/forcelnk.h"
+FORCE_LINK(gnome_print)
+
+#endif
 
 //-----------------------------------------------------------------------------
 // global data
 
 //-----------------------------------------------------------------------------
 // global data
index d776d44acd11268a115b15e4303d8df86f0be599..c761a15e96c85d036c2082e4864d6987dc574db7 100644 (file)
 #include <libgnomeprintui/gnome-print-job-preview.h>
 #include <libgnomeprintui/gnome-print-paper-selector.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
 //----------------------------------------------------------------------------
 //----------------------------------------------------------------------------
 // wxGnomePrintLibrary
 //----------------------------------------------------------------------------