From b965ffff37683deff194af4cd66cb7caba4d6e15 Mon Sep 17 00:00:00 2001 From: Benjamin Williams Date: Tue, 7 Nov 2006 08:36:33 +0000 Subject: [PATCH] small bug fix git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43147 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/aui/auibook.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/aui/auibook.cpp b/src/aui/auibook.cpp index dc55f5e985..24e417f3c7 100644 --- a/src/aui/auibook.cpp +++ b/src/aui/auibook.cpp @@ -346,9 +346,7 @@ void wxAuiDefaultTabArt::DrawTab(wxDC& dc, wxCoord tab_y = in_rect.y + in_rect.height - tab_height; - //dc.SetClippingRegion(left_buttons_width, 0, - // m_rect.GetWidth() - right_buttons_width - left_buttons_width - 2, - // m_rect.GetHeight()); + caption = caption_text; dc.SetClippingRegion(in_rect); @@ -793,6 +791,8 @@ void wxAuiSimpleTabArt::DrawTab(wxDC& dc, wxCoord tab_x = in_rect.x; wxCoord tab_y = in_rect.y + in_rect.height - tab_height; + caption = caption_text; + // select pen, brush and font for the tab to be drawn if (active) -- 2.50.0