small enhancement: account for SLANT==ITALIC on wxMSW; print explicitely the face name of the current font; make wxFontBase::GetFamilyString aware of wxFONTFAMILY_UNKNOWN
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60174 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -375,6 +375,7 @@ wxString wxFontBase::GetFamilyString() const
|
||||
case wxFONTFAMILY_SWISS: return "wxFONTFAMILY_SWISS";
|
||||
case wxFONTFAMILY_MODERN: return "wxFONTFAMILY_MODERN";
|
||||
case wxFONTFAMILY_TELETYPE: return "wxFONTFAMILY_TELETYPE";
|
||||
case wxFONTFAMILY_UNKNOWN: return "wxFONTFAMILY_UNKNOWN";
|
||||
default: return "wxFONTFAMILY_DEFAULT";
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user