Copied fonts in art Clone
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46585 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
fc17828ab2
commit
700614e05e
@ -230,7 +230,12 @@ wxAuiDefaultTabArt::~wxAuiDefaultTabArt()
|
||||
|
||||
wxAuiTabArt* wxAuiDefaultTabArt::Clone()
|
||||
{
|
||||
return static_cast<wxAuiTabArt*>(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)
|
||||
|
Loading…
Reference in New Issue
Block a user