From: Julian Smart Date: Fri, 21 Sep 2007 12:40:08 +0000 (+0000) Subject: Make SetFont actually do something X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/afd8770decb39abb628b3a80800b5bba6cf19dd8 Make SetFont actually do something git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48868 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/aui/auibook.cpp b/src/aui/auibook.cpp index 113fb0c5c4..543a7c3cb3 100644 --- a/src/aui/auibook.cpp +++ b/src/aui/auibook.cpp @@ -4370,6 +4370,13 @@ bool wxAuiNotebook::SetFont(const wxFont& font) SetSelectedFont(selectedFont); SetMeasuringFont(selectedFont); + if (GetArtProvider()) + { + GetArtProvider()->SetNormalFont(normalFont); + GetArtProvider()->SetSelectedFont(selectedFont); + GetArtProvider()->SetMeasuringFont(selectedFont); + } + return true; }