X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/152368158133e94581e4fc15e43b3230292af69c..7cc52cd8ddf618163923e0171a87b7dff2c4c869:/src/gtk/gnome/gprint.cpp diff --git a/src/gtk/gnome/gprint.cpp b/src/gtk/gnome/gprint.cpp index d776d44acd..45e9735ad3 100644 --- a/src/gtk/gnome/gprint.cpp +++ b/src/gtk/gnome/gprint.cpp @@ -22,8 +22,7 @@ #if wxUSE_LIBGNOMEPRINT -#include "math.h" - +#include "wx/math.h" #include "wx/fontutil.h" #include "wx/printdlg.h" #include "wx/gtk/private.h" @@ -38,6 +37,10 @@ #include #include + +#include "wx/html/forcelnk.h" +FORCE_LINK_ME(gnome_print) + //---------------------------------------------------------------------------- // wxGnomePrintLibrary //---------------------------------------------------------------------------- @@ -792,7 +795,7 @@ wxDC* wxGnomePrinter::PrintDialog( wxWindow *parent ) int ret = dialog.ShowModal(); if (ret == wxID_CANCEL) { - sm_lastError = wxPRINTER_ERROR; + sm_lastError = wxPRINTER_CANCELLED; return NULL; }