From e73efb071360be2b74d39ff15ece67116a4b8677 Mon Sep 17 00:00:00 2001 From: Julian Smart Date: Fri, 21 Sep 2007 12:39:43 +0000 Subject: [PATCH] Make SetFont actually do something git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@48867 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/aui/auibook.cpp | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/aui/auibook.cpp b/src/aui/auibook.cpp index fd47ea1b14..33b4a68e85 100644 --- a/src/aui/auibook.cpp +++ b/src/aui/auibook.cpp @@ -4501,6 +4501,13 @@ bool wxAuiNotebook::SetFont(const wxFont& font) SetSelectedFont(selectedFont); SetMeasuringFont(selectedFont); + if (GetArtProvider()) + { + GetArtProvider()->SetNormalFont(normalFont); + GetArtProvider()->SetSelectedFont(selectedFont); + GetArtProvider()->SetMeasuringFont(selectedFont); + } + return true; }