Make SetFont actually do something

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48868 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Julian Smart
2007-09-21 12:40:08 +00:00
parent 3694bb76c1
commit afd8770dec

View File

@@ -4370,6 +4370,13 @@ bool wxAuiNotebook::SetFont(const wxFont& font)
SetSelectedFont(selectedFont); SetSelectedFont(selectedFont);
SetMeasuringFont(selectedFont); SetMeasuringFont(selectedFont);
if (GetArtProvider())
{
GetArtProvider()->SetNormalFont(normalFont);
GetArtProvider()->SetSelectedFont(selectedFont);
GetArtProvider()->SetMeasuringFont(selectedFont);
}
return true; return true;
} }