From 75aa53c9271f110e431a113529bffae8e79bbe3b Mon Sep 17 00:00:00 2001 From: Robert Roebling Date: Fri, 22 Jun 2007 09:18:30 +0000 Subject: [PATCH] Call clipping region methods from base class. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46606 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/gtk/gnome/gprint.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/gtk/gnome/gprint.cpp b/src/gtk/gnome/gprint.cpp index 53a39a794a..cfd57d4e64 100644 --- a/src/gtk/gnome/gprint.cpp +++ b/src/gtk/gnome/gprint.cpp @@ -1760,6 +1760,8 @@ void wxGnomePrintDC::SetBackground( const wxBrush& brush ) void wxGnomePrintDC::DoSetClippingRegion(wxCoord x, wxCoord y, wxCoord width, wxCoord height) { + wxDC::DoSetClippingRegion( x, y, width, height ); + gs_lgp->gnome_print_gsave( m_gpc ); gs_lgp->gnome_print_newpath( m_gpc ); @@ -1773,6 +1775,8 @@ void wxGnomePrintDC::DoSetClippingRegion(wxCoord x, wxCoord y, wxCoord width, wx void wxGnomePrintDC::DestroyClippingRegion() { + wxDC::DestroyClippingRegion(); + gs_lgp->gnome_print_grestore( m_gpc ); #if 0 -- 2.45.2