Compile fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42349 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -286,7 +286,6 @@ private:
|
|||||||
unsigned char m_currentRed;
|
unsigned char m_currentRed;
|
||||||
unsigned char m_currentGreen;
|
unsigned char m_currentGreen;
|
||||||
unsigned char m_currentBlue;
|
unsigned char m_currentBlue;
|
||||||
wxPrintData m_printData;
|
|
||||||
|
|
||||||
wxGnomePrinter *m_printer;
|
wxGnomePrinter *m_printer;
|
||||||
GnomePrintContext *m_gpc;
|
GnomePrintContext *m_gpc;
|
||||||
@@ -365,7 +364,7 @@ private:
|
|||||||
// wxPrintout.
|
// wxPrintout.
|
||||||
// ----------------------------------------------------------------------------
|
// ----------------------------------------------------------------------------
|
||||||
|
|
||||||
class wxGnomePreview : public wxPrintPreviewBase
|
class wxGnomePrintPreview : public wxPrintPreviewBase
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
wxGnomePrintPreview(wxPrintout *printout,
|
wxGnomePrintPreview(wxPrintout *printout,
|
||||||
|
@@ -31,6 +31,7 @@
|
|||||||
#include "wx/fontutil.h"
|
#include "wx/fontutil.h"
|
||||||
#include "wx/gtk/private.h"
|
#include "wx/gtk/private.h"
|
||||||
#include "wx/dynlib.h"
|
#include "wx/dynlib.h"
|
||||||
|
#include "wx/paper.h"
|
||||||
|
|
||||||
#include <libgnomeprint/gnome-print.h>
|
#include <libgnomeprint/gnome-print.h>
|
||||||
#include <libgnomeprint/gnome-print-pango.h>
|
#include <libgnomeprint/gnome-print-pango.h>
|
||||||
@@ -879,7 +880,7 @@ wxGnomePrintDC::wxGnomePrintDC( const wxPrintData& data )
|
|||||||
wxGnomePrintDC::~wxGnomePrintDC()
|
wxGnomePrintDC::~wxGnomePrintDC()
|
||||||
{
|
{
|
||||||
if (m_job)
|
if (m_job)
|
||||||
g_object_unref (job);
|
g_object_unref (m_job);
|
||||||
}
|
}
|
||||||
|
|
||||||
bool wxGnomePrintDC::IsOk() const
|
bool wxGnomePrintDC::IsOk() const
|
||||||
|
Reference in New Issue
Block a user