wxDC::Clear() shouldn't do anything in printing DCs (I think)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48594 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robert Roebling 2007-09-06 20:30:07 +00:00
parent cf509a9038
commit 0187f0bcf4

View File

@ -1940,11 +1940,15 @@ void wxGtkPrintDC::DoDrawRotatedText(const wxString& text, wxCoord x, wxCoord y,
void wxGtkPrintDC::Clear()
{
// Clear does nothing for printing, but keep the code
// for later reuse
/*
gs_cairo->cairo_save(m_cairo);
gs_cairo->cairo_set_operator (m_cairo, CAIRO_OPERATOR_SOURCE);
SetBrush(m_backgroundBrush);
gs_cairo->cairo_paint(m_cairo);
gs_cairo->cairo_restore(m_cairo);
*/
}
void wxGtkPrintDC::SetFont( const wxFont& font )