X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/0b822969a677939811d9fb966177031fb5fc625b..1ddb6d28576c3ab21f80d8a3815fcccb1545961c:/include/wx/gtk/print.h?ds=sidebyside diff --git a/include/wx/gtk/print.h b/include/wx/gtk/print.h index b6f26630b0..62a3514645 100644 --- a/include/wx/gtk/print.h +++ b/include/wx/gtk/print.h @@ -249,10 +249,10 @@ public: void SetBackgroundMode(int mode); void SetPalette(const wxPalette& WXUNUSED(palette)) { } void SetResolution(int ppi); - + // overriden for wxPrinterDC Impl - virtual int GetResolution(); - virtual wxRect GetPaperRect(); + virtual int GetResolution() const; + virtual wxRect GetPaperRect() const; protected: bool DoFloodFill(wxCoord x1, wxCoord y1, const wxColour &col, int style=wxFLOOD_SURFACE ); @@ -281,7 +281,10 @@ protected: void DoDrawText(const wxString& text, wxCoord x, wxCoord y ); void DoDrawRotatedText(const wxString& text, wxCoord x, wxCoord y, double angle); void DoSetClippingRegion(wxCoord x, wxCoord y, wxCoord width, wxCoord height); - void DoSetClippingRegionAsRegion( const wxRegion &WXUNUSED(clip) ) { } + void DoSetDeviceClippingRegion( const wxRegion &WXUNUSED(clip) ) + { + wxFAIL_MSG( "not implemented" ); + } void DoGetTextExtent(const wxString& string, wxCoord *x, wxCoord *y, wxCoord *descent = (wxCoord *) NULL, wxCoord *externalLeading = (wxCoord *) NULL,