]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/fontcmn.cpp
resource loader structure added for loading menu bar, apple menu will not get multipl...
[wxWidgets.git] / src / common / fontcmn.cpp
index b8a4497f8ba6d238d00ad9cc80aa3f194764075a..320d37935ecdc95f6a9caaa618943452aefe0df9 100644 (file)
@@ -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