unsigned char m_currentRed;
unsigned char m_currentGreen;
unsigned char m_currentBlue;
- wxPrintData m_printData;
wxGnomePrinter *m_printer;
GnomePrintContext *m_gpc;
// wxPrintout.
// ----------------------------------------------------------------------------
-class wxGnomePreview : public wxPrintPreviewBase
+class wxGnomePrintPreview : public wxPrintPreviewBase
{
public:
wxGnomePrintPreview(wxPrintout *printout,
#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>
wxGnomePrintDC::~wxGnomePrintDC()
{
if (m_job)
- g_object_unref (job);
+ g_object_unref (m_job);
}
bool wxGnomePrintDC::IsOk() const