Don't allow DestroyClippingRegion() to remove paint update area clipping with GTK3

See #18560
This commit is contained in:
Paul Cornett
2019-10-31 23:30:18 -07:00
parent e376e74210
commit 4697ce23d9
3 changed files with 19 additions and 0 deletions

View File

@@ -5074,6 +5074,7 @@ void wxWindowGTK::GTKSendPaintEvents(const GdkRegion* region)
m_paintContext = cr;
m_updateRegion = wxRegion(int(x1), int(y1), int(x2 - x1), int(y2 - y1));
m_nativeUpdateRegion = m_updateRegion;
#else // !__WXGTK3__
m_updateRegion = wxRegion(region);
#if wxGTK_HAS_COMPOSITING_SUPPORT