added explanatory comment
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46032 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
65c1133755
commit
209ce629ac
@ -130,6 +130,8 @@ wxFontBundleBase::GetFaceForFont(const wxFontMgrFontRefData& font) const
|
||||
|
||||
if ( !HasFace((FaceType)type) )
|
||||
{
|
||||
// if we can't get the exact font requested, substitute it with
|
||||
// some other variant:
|
||||
for (int i = 0; i < FaceType_Max; i++)
|
||||
{
|
||||
if ( HasFace((FaceType)i) )
|
||||
|
Loading…
Reference in New Issue
Block a user