From 700614e05e24b72be90ce770d1b19cc7955e8a97 Mon Sep 17 00:00:00 2001 From: Julian Smart Date: Thu, 21 Jun 2007 15:16:10 +0000 Subject: [PATCH] Copied fonts in art Clone git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46585 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/aui/auibook.cpp | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/aui/auibook.cpp b/src/aui/auibook.cpp index 66cbf8481b..405ae7bffa 100644 --- a/src/aui/auibook.cpp +++ b/src/aui/auibook.cpp @@ -230,7 +230,12 @@ wxAuiDefaultTabArt::~wxAuiDefaultTabArt() wxAuiTabArt* wxAuiDefaultTabArt::Clone() { - return static_cast(new wxAuiDefaultTabArt); + wxAuiDefaultTabArt* art = new wxAuiDefaultTabArt; + art->SetNormalFont(m_normal_font); + art->SetSelectedFont(m_selected_font); + art->SetMeasuringFont(m_measuring_font); + + return art; } void wxAuiDefaultTabArt::SetFlags(unsigned int flags) -- 2.45.2