]> git.saurik.com Git - wxWidgets.git/commitdiff
Compile fixes
authorJulian Smart <julian@anthemion.co.uk>
Tue, 24 Oct 2006 16:32:08 +0000 (16:32 +0000)
committerJulian Smart <julian@anthemion.co.uk>
Tue, 24 Oct 2006 16:32:08 +0000 (16:32 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42349 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

include/wx/gtk/gnome/gprint.h
src/gtk/gnome/gprint.cpp

index 2148bfbe5fee0ab592bbea107b72f63c25184381..4cdb6d999c368edcd6ef8f3e8c0cd460af92ff8d 100644 (file)
@@ -286,7 +286,6 @@ private:
     unsigned char           m_currentRed;
     unsigned char           m_currentGreen;
     unsigned char           m_currentBlue;
-    wxPrintData             m_printData;
 
     wxGnomePrinter         *m_printer;
     GnomePrintContext      *m_gpc;
@@ -365,7 +364,7 @@ private:
 // wxPrintout.
 // ----------------------------------------------------------------------------
 
-class wxGnomePreview : public wxPrintPreviewBase
+class wxGnomePrintPreview : public wxPrintPreviewBase
 {
 public:
     wxGnomePrintPreview(wxPrintout *printout,
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