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:
@@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user