X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/389076f14811ac2c7ad5e3ffb3685b54e8f1944b..07014b5a0af156077f85ae45b6c5d5162d5cfb76:/include/wx/gtk/gnome/gprint.h diff --git a/include/wx/gtk/gnome/gprint.h b/include/wx/gtk/gnome/gprint.h index ba03655e6d..eb5764a170 100644 --- a/include/wx/gtk/gnome/gprint.h +++ b/include/wx/gtk/gnome/gprint.h @@ -11,21 +11,15 @@ #ifndef __gprint_H__ #define __gprint_H__ -#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) -#pragma interface -#endif - // Include wxWindows' headers -#ifndef WX_PRECOMP - #include -#endif +#include "wx/defs.h" #if wxUSE_LIBGNOMEPRINT #include "wx/print.h" -#include "wx/prntbase.h" #include "wx/printdlg.h" +#include "wx/dc.h" typedef struct _GnomePrintJob GnomePrintJob; typedef struct _GnomePrintContext GnomePrintContext; @@ -208,9 +202,6 @@ public: bool Ok() const; - virtual void BeginDrawing() {} - virtual void EndDrawing() {} - bool DoFloodFill(wxCoord x1, wxCoord y1, const wxColour &col, int style=wxFLOOD_SURFACE ); bool DoGetPixel(wxCoord x1, wxCoord y1, wxColour *col) const; void DoDrawLine(wxCoord x1, wxCoord y1, wxCoord x2, wxCoord y2); @@ -294,6 +285,8 @@ private: wxGnomePrinter *m_printer; GnomePrintContext *m_gpc; + void makeEllipticalPath(wxCoord x, wxCoord y, wxCoord width, wxCoord height); + private: wxCoord XDEV2LOG(wxCoord x) const {