Removed code duplication introduced during wxUniv merge in 1.132
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25066 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -2338,10 +2338,6 @@ wxPaintDC::wxPaintDC( wxWindow *win )
|
|||||||
if (!win->m_clipPaintRegion)
|
if (!win->m_clipPaintRegion)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
m_paintClippingRegion = win->GetUpdateRegion();
|
|
||||||
GdkRegion *region = m_paintClippingRegion.GetRegion();
|
|
||||||
if ( region )
|
|
||||||
{
|
|
||||||
m_paintClippingRegion = win->GetUpdateRegion();
|
m_paintClippingRegion = win->GetUpdateRegion();
|
||||||
GdkRegion *region = m_paintClippingRegion.GetRegion();
|
GdkRegion *region = m_paintClippingRegion.GetRegion();
|
||||||
if ( region )
|
if ( region )
|
||||||
@@ -2353,7 +2349,6 @@ wxPaintDC::wxPaintDC( wxWindow *win )
|
|||||||
gdk_gc_set_clip_region( m_textGC, region );
|
gdk_gc_set_clip_region( m_textGC, region );
|
||||||
gdk_gc_set_clip_region( m_bgGC, region );
|
gdk_gc_set_clip_region( m_bgGC, region );
|
||||||
}
|
}
|
||||||
}
|
|
||||||
#endif // USE_PAINT_REGION
|
#endif // USE_PAINT_REGION
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@@ -2338,10 +2338,6 @@ wxPaintDC::wxPaintDC( wxWindow *win )
|
|||||||
if (!win->m_clipPaintRegion)
|
if (!win->m_clipPaintRegion)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
m_paintClippingRegion = win->GetUpdateRegion();
|
|
||||||
GdkRegion *region = m_paintClippingRegion.GetRegion();
|
|
||||||
if ( region )
|
|
||||||
{
|
|
||||||
m_paintClippingRegion = win->GetUpdateRegion();
|
m_paintClippingRegion = win->GetUpdateRegion();
|
||||||
GdkRegion *region = m_paintClippingRegion.GetRegion();
|
GdkRegion *region = m_paintClippingRegion.GetRegion();
|
||||||
if ( region )
|
if ( region )
|
||||||
@@ -2353,7 +2349,6 @@ wxPaintDC::wxPaintDC( wxWindow *win )
|
|||||||
gdk_gc_set_clip_region( m_textGC, region );
|
gdk_gc_set_clip_region( m_textGC, region );
|
||||||
gdk_gc_set_clip_region( m_bgGC, region );
|
gdk_gc_set_clip_region( m_bgGC, region );
|
||||||
}
|
}
|
||||||
}
|
|
||||||
#endif // USE_PAINT_REGION
|
#endif // USE_PAINT_REGION
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user