]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/gtk/print.h
Fixed wxWindowOS2::Reparent.
[wxWidgets.git] / include / wx / gtk / print.h
index 37713c277d4c6fbd6b4ef2410e6ac513f496f8e2..b6f26630b09aec3d6eca549aeeb689c3b73be0c8 100644 (file)
@@ -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_