X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/03647350fc7cd141953c72e0284e928847d30f44..033f86db5f422700eda6284ab338e84168bbba44:/include/wx/gtk/print.h diff --git a/include/wx/gtk/print.h b/include/wx/gtk/print.h index de57b60979..c0110a9678 100644 --- a/include/wx/gtk/print.h +++ b/include/wx/gtk/print.h @@ -3,7 +3,7 @@ // Author: Anthony Bretaudeau // Purpose: GTK printing support // Created: 2007-08-25 -// RCS-ID: $Id: print.h,v 1 2007-08-25 05:44:44 PC Exp $ +// RCS-ID: $Id$ // Copyright: (c) Anthony Bretaudeau // Licence: wxWindows Licence ///////////////////////////////////////////////////////////////////////////// @@ -196,7 +196,6 @@ public: GtkPrintSettings* GetPrintConfig() { return m_config; } void SetPrintConfig( GtkPrintSettings * config ); - void SetPrintJob( GtkPrintOperation *job ) { m_job = job; } GtkPrintOperation* GetPrintJob() { return m_job; } GtkPrintContext *GetPrintContext() { return m_context; } @@ -228,7 +227,8 @@ public: bool IsOk() const; virtual void* GetCairoContext() const; - + virtual void* GetHandle() const; + bool CanDrawBitmap() const { return true; } void Clear(); void SetFont( const wxFont& font ); @@ -250,7 +250,7 @@ public: void SetPalette(const wxPalette& WXUNUSED(palette)) { } void SetResolution(int ppi); - // overriden for wxPrinterDC Impl + // overridden for wxPrinterDC Impl virtual int GetResolution() const; virtual wxRect GetPaperRect() const;