From 0eb529d9e47f2591e5f49c1ba45c587341ce569e Mon Sep 17 00:00:00 2001 From: David Webster Date: Wed, 9 Jan 2002 23:18:07 +0000 Subject: [PATCH] Support for WXPM's native font info. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13487 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/common/fontcmn.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/common/fontcmn.cpp b/src/common/fontcmn.cpp index 938e9259fd..b8a4497f8b 100644 --- a/src/common/fontcmn.cpp +++ b/src/common/fontcmn.cpp @@ -396,7 +396,7 @@ void wxNativeFontInfo::SetEncoding(wxFontEncoding encoding_) // format there anyhow (but there is a well-defined standard for X11 fonts used // by wxGTK and wxMotif) -#if defined(wxNO_NATIVE_FONTINFO) || defined(__WXMSW__) +#if defined(wxNO_NATIVE_FONTINFO) || defined(__WXMSW__) || defined (__WXPM__) wxString wxNativeFontInfo::ToUserString() const { @@ -550,5 +550,5 @@ bool wxNativeFontInfo::FromUserString(const wxString& s) return TRUE; } -#endif // generic or wxMSW +#endif // generic or wxMSW or wxOS2 -- 2.45.2