fixed too restrictive assert: fonts matching is case-insensitive
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46019 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -110,7 +110,8 @@ wxFontFace *wxFontBundleBase::GetFace(FaceType type) const
|
||||
wxFontFace *
|
||||
wxFontBundleBase::GetFaceForFont(const wxFontMgrFontRefData& font) const
|
||||
{
|
||||
wxASSERT_MSG( font.GetFaceName().empty() || font.GetFaceName() == GetName(),
|
||||
wxASSERT_MSG( font.GetFaceName().empty() ||
|
||||
GetName().CmpNoCase(font.GetFaceName()) == 0,
|
||||
_T("calling GetFaceForFont for incompatible font") );
|
||||
|
||||
int type = FaceType_Regular;
|
||||
|
||||
Reference in New Issue
Block a user