X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/204dd9a771efee884a526f8590668d3f56b77249..830efc9b0cb87eae22d4435af7858175017522ab:/samples/drawing/drawing.cpp 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