+void wxAuiGenericTabArt::DrawBorder(wxDC& dc, wxWindow* wnd, const wxRect& rect)
+{
+ int i, border_width = GetBorderWidth(wnd);
+
+ wxRect theRect(rect);
+ for (i = 0; i < border_width; ++i)
+ {
+ dc.DrawRectangle(theRect.x, theRect.y, theRect.width, theRect.height);
+ theRect.Deflate(1);
+ }
+}
+