X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/0eb529d9e47f2591e5f49c1ba45c587341ce569e..d9e054bc6147fb286b6de2fcfe50e2ecf5649843:/src/common/fontcmn.cpp diff --git a/src/common/fontcmn.cpp b/src/common/fontcmn.cpp index b8a4497f8b..320d37935e 100644 --- a/src/common/fontcmn.cpp +++ b/src/common/fontcmn.cpp @@ -82,6 +82,11 @@ wxFont *wxFontBase::New(const wxString& strNativeFontDesc) return New(fontInfo); } +bool wxFontBase::IsFixedWidth() const +{ + return GetFamily() == wxFONTFAMILY_TELETYPE; +} + wxNativeFontInfo *wxFontBase::GetNativeFontInfo() const { #ifdef wxNO_NATIVE_FONTINFO