From: Benjamin Williams Date: Mon, 24 Jul 2006 09:44:19 +0000 (+0000) Subject: tab draw happens right away when you set the caption X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/639a4f7b5454e2f422fe295dbdb8b42e3c7eb808 tab draw happens right away when you set the caption git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40262 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/aui/auibook.cpp b/src/aui/auibook.cpp index da6a2edd7c..71666e0585 100644 --- a/src/aui/auibook.cpp +++ b/src/aui/auibook.cpp @@ -1126,9 +1126,9 @@ bool wxAuiMultiNotebook::SetPageText(size_t page_idx, const wxString& text) wxAuiNotebookPage& info = ctrl->GetPage(ctrl_idx); info.caption = text; ctrl->Refresh(); + ctrl->Update(); } - return true; }