#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:
@@ -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);
|
||||
|
Reference in New Issue
Block a user