From 13a2eea0f565550406028d2a6fa3e0777933df0b Mon Sep 17 00:00:00 2001 From: Julian Smart Date: Thu, 20 Jun 2002 11:46:58 +0000 Subject: [PATCH] ifdefed out Offset call for Mac git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15887 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- samples/drawing/drawing.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/samples/drawing/drawing.cpp b/samples/drawing/drawing.cpp index 0c092f7941..6e15c9c541 100644 --- a/samples/drawing/drawing.cpp +++ b/samples/drawing/drawing.cpp @@ -885,7 +885,7 @@ void MyCanvas::DrawRegionsHelper(wxDC& dc, wxCoord x, bool firstTime) dc.DestroyClippingRegion(); wxRegion region(x + 110, y + 20, 100, 270); -#ifndef __WXMOTIF__ +#if !defined(__WXMOTIF__) && !defined(__WXMAC__) if ( !firstTime ) region.Offset(10, 10); #endif