Compile fixes

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42349 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Julian Smart 2006-10-24 16:32:08 +00:00
parent 38aa6e420c
commit 459dbfc0f1
2 changed files with 3 additions and 3 deletions

View 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,

View 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