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
This commit is contained in:
Julian Smart
2007-09-21 12:39:43 +00:00
parent 60e53ef92a
commit e73efb0713

View File

@@ -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;
}