]> git.saurik.com Git - wxWidgets.git/commitdiff
added explanatory comment
authorVáclav Slavík <vslavik@fastmail.fm>
Tue, 15 May 2007 12:09:44 +0000 (12:09 +0000)
committerVáclav Slavík <vslavik@fastmail.fm>
Tue, 15 May 2007 12:09:44 +0000 (12:09 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46032 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/common/fontmgrcmn.cpp

index 2c4c06c3b29468239cc51df07aa30ab27aad0a8c..ee2fe4915a632a983939130a9dafdfb9ecb016ea 100644 (file)
@@ -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) )