Call clipping region methods from base class.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46606 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robert Roebling 2007-06-22 09:18:30 +00:00
parent dd2422b320
commit 75aa53c927

View File

@ -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