#ifdeffed new paint clipping :-(

Moved replacement code to printing preview canvas where
    its effect was particularly useful.
  Completed GC pooling.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6240 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robert Roebling
2000-02-23 17:47:43 +00:00
parent c52a6847be
commit 809934d22a
8 changed files with 200 additions and 153 deletions

View File

@@ -195,6 +195,11 @@ void wxPreviewCanvas::OnPaint(wxPaintEvent& WXUNUSED(event))
wxPaintDC dc(this);
PrepareDC( dc );
#ifdef __WXGTK__
if (!GetUpdateRegion().IsEmpty())
dc.SetClippingRegion( GetUpdateRegion() );
#endif
if (m_printPreview)
{
m_printPreview->PaintPage(this, dc);