From: Benjamin Williams Date: Mon, 24 Jul 2006 11:30:27 +0000 (+0000) Subject: fixed variable name X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/f169e95d03a047e0c6d01e266fd9d9cd1afd105c?ds=inline fixed variable name git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40263 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/aui/auibook.cpp b/src/aui/auibook.cpp index 71666e0585..b29509d6ff 100644 --- a/src/aui/auibook.cpp +++ b/src/aui/auibook.cpp @@ -313,7 +313,7 @@ void wxAuiTabContainer::AddButton(int id, const wxBitmap& bmp) void wxAuiTabContainer::DrawTab(wxDC* dc, const wxRect& in_rect, - const wxString& _caption, + const wxString& caption_text, bool active, wxRect* out_rect, int* x_extent) @@ -325,8 +325,8 @@ void wxAuiTabContainer::DrawTab(wxDC* dc, // if the caption is empty, measure some temporary text - wxString caption = _caption; - if (_caption.IsEmpty()) + wxString caption = caption_text; + if (caption_text.IsEmpty()) caption = wxT("Xj"); // measure text @@ -339,7 +339,7 @@ void wxAuiTabContainer::DrawTab(wxDC* dc, dc->SetFont(m_normal_font); dc->GetTextExtent(caption, &normal_textx, &normal_texty); - caption = _caption; + caption = caption_text; wxCoord tab_height = measured_texty + 4; wxCoord tab_width = measured_textx + tab_height + 5;