X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/fc17828ab2cb3dc5dd22d5634ce4f6764e1373fc..40e5ebbf98728d627e4d3c9e3a57f28f5bb8fcb9:/src/aui/auibook.cpp 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)