stub out wxRegion ctor not implemented in wxMGL and wxDFB to at least fix compilation

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43281 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin 2006-11-10 16:16:22 +00:00
parent 7baac3cbae
commit eab9751b66

View File

@ -401,9 +401,12 @@ void wxAuiDefaultTabArt::DrawTab(wxDC& dc,
clip_points[4] = wxPoint(tab_x+clip_width+1, tab_y+2);
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(__WXMGL__) && !defined(__WXDFB__)
// set the clipping region for the tab --
wxRegion clipping_region(WXSIZEOF(clip_points), clip_points);
dc.SetClippingRegion(clipping_region);
#endif // !wxMGL && !wxDFB
wxPoint border_points[6];
border_points[0] = wxPoint(tab_x, tab_y+tab_height-4);