]> git.saurik.com Git - wxWidgets.git/blobdiff - src/aui/auibook.cpp
Upport scrolling changes and mouse wheel changes.
[wxWidgets.git] / src / aui / auibook.cpp
index 66cbf8481b56af5c66bd496753ad3e3b58f7deec..405ae7bffa15898d18a5c9f909bc79bda67cf757 100644 (file)
@@ -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)