X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/80052501c82eac13239329438334bb482864e205..a289b10d2ce67a39d5e18d49716afdbcfce2c188:/include/wx/gtk/print.h?ds=sidebyside diff --git a/include/wx/gtk/print.h b/include/wx/gtk/print.h index 37713c277d..b6f26630b0 100644 --- a/include/wx/gtk/print.h +++ b/include/wx/gtk/print.h @@ -227,6 +227,8 @@ public: bool Ok() const { return IsOk(); } bool IsOk() const; + virtual void* GetCairoContext() const; + bool CanDrawBitmap() const { return true; } void Clear(); void SetFont( const wxFont& font ); @@ -332,11 +334,16 @@ public: virtual void DetermineScaling(); private: - void Init(wxPrintout *printout, wxPrintout *printoutForPrinting); + void Init(wxPrintout *printout, + wxPrintout *printoutForPrinting, + wxPrintData *data); + + // resolution to use in DPI + int m_resolution; DECLARE_CLASS(wxGtkPrintPreview) }; -#endif +#endif // wxUSE_GTKPRINT -#endif +#endif // _WX_GTK_PRINT_H_