]> git.saurik.com Git - wxWidgets.git/commitdiff
ifdefed out Offset call for Mac
authorJulian Smart <julian@anthemion.co.uk>
Thu, 20 Jun 2002 11:46:58 +0000 (11:46 +0000)
committerJulian Smart <julian@anthemion.co.uk>
Thu, 20 Jun 2002 11:46:58 +0000 (11:46 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15887 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

samples/drawing/drawing.cpp

index 0c092f79410787426b75395dcfd38e573a0e91c3..6e15c9c541c43ccd0caddb8c498c4ba67f5c7d7b 100644 (file)
@@ -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