]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk/gnome/gprint.cpp
don't draw the endpoint in DrawLine at least in the common cases of vertical and...
[wxWidgets.git] / src / gtk / gnome / gprint.cpp
index 29b2890fbf71fdcbc55b0445a3a5de64e68cafbd..0e14a5ca397806bad097e62380ef1fb60a7680a7 100644 (file)
@@ -31,6 +31,7 @@
 #include "wx/fontutil.h"
 #include "wx/gtk/private.h"
 #include "wx/dynlib.h"
+#include "wx/paper.h"
 
 #include <libgnomeprint/gnome-print.h>
 #include <libgnomeprint/gnome-print-pango.h>
@@ -879,7 +880,7 @@ wxGnomePrintDC::wxGnomePrintDC( const wxPrintData& data )
 wxGnomePrintDC::~wxGnomePrintDC()
 {
     if (m_job)
-        g_object_unref (job);
+        g_object_unref (m_job);
 }
 
 bool wxGnomePrintDC::IsOk() const