From a909ef16ad346c40e478593a23113b20fa0ad88e Mon Sep 17 00:00:00 2001 From: Paul Cornett Date: Sun, 4 Jan 2009 05:56:07 +0000 Subject: [PATCH] build fix for GTK+ versions prior to 2.14 git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57825 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/gtk/dcclient.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/gtk/dcclient.cpp b/src/gtk/dcclient.cpp index 48405d02a9..943b9b3b02 100644 --- a/src/gtk/dcclient.cpp +++ b/src/gtk/dcclient.cpp @@ -1007,7 +1007,7 @@ ScaleMask(GdkPixmap* mask, int x, int y, int w, int h, int dst_w, int dst_h, dou // Make a new mask from part of a mask and a clip region. // Return new mask, unref old one. static GdkPixmap* -ClipMask(GdkPixmap* mask, const GdkRegion* clipRegion, int x, int y, int dst_x, int dst_y, int w, int h) +ClipMask(GdkPixmap* mask, GdkRegion* clipRegion, int x, int y, int dst_x, int dst_y, int w, int h) { GdkGCValues gcValues; gcValues.foreground.pixel = 0; @@ -1068,7 +1068,7 @@ void wxWindowDCImpl::DoDrawBitmap( const wxBitmap &bitmap, if (m_window && m_window->GetLayoutDirection() == wxLayout_RightToLeft) xx -= ww; - const GdkRegion* const clipRegion = m_currentClippingRegion.GetRegion(); + GdkRegion* const clipRegion = m_currentClippingRegion.GetRegion(); // determine clip region overlap int overlap = wxInRegion; if (clipRegion) @@ -1233,7 +1233,7 @@ bool wxWindowDCImpl::DoBlit( wxCoord xdest, wxCoord ydest, const int dst_w = LogicalToDeviceXRel(width); const int dst_h = LogicalToDeviceYRel(height); - const GdkRegion* const clipRegion = m_currentClippingRegion.GetRegion(); + GdkRegion* const clipRegion = m_currentClippingRegion.GetRegion(); // determine dest clip region overlap int overlap = wxInRegion; if (clipRegion) -- 2.47.2