From 0197bcdd135c9d37a1e5fd2112f976ae8957fc0c Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Sun, 12 Nov 2006 22:35:27 +0000 Subject: [PATCH] wxCocoa doesn't have multi point wxRegion ctor neither git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43380 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/aui/auibook.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/aui/auibook.cpp b/src/aui/auibook.cpp index fe3d5f9a56..453d38c9aa 100644 --- a/src/aui/auibook.cpp +++ b/src/aui/auibook.cpp @@ -408,11 +408,11 @@ void wxAuiDefaultTabArt::DrawTab(wxDC& dc, clip_points[5] = wxPoint(tab_x+clip_width+1, tab_y+tab_height-3); // FIXME: these ports don't provide wxRegion ctor from array of points -#if !defined(__WXDFB__) +#if !defined(__WXDFB__) && !defined(__WXCOCOA__) // set the clipping region for the tab -- wxRegion clipping_region(WXSIZEOF(clip_points), clip_points); dc.SetClippingRegion(clipping_region); -#endif // !wxDFB +#endif // !wxDFB && !wxCocoa wxPoint border_points[6]; border_points[0] = wxPoint(tab_x, tab_y+tab_height-4);