From: Julian Smart Date: Thu, 20 Jun 2002 11:46:58 +0000 (+0000) Subject: ifdefed out Offset call for Mac X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/13a2eea0f565550406028d2a6fa3e0777933df0b ifdefed out Offset call for Mac git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15887 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- 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