From 4b412d238281008e248bcdebeae4baf4b67191e7 Mon Sep 17 00:00:00 2001 From: Robert Roebling Date: Thu, 6 Jan 2005 11:53:53 +0000 Subject: [PATCH] wxEncodingConverter should and can be compiled without wxFontMapper and its corresponding wxUSE_FONTMAP git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31256 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- include/wx/encconv.h | 4 ---- src/common/encconv.cpp | 3 --- 2 files changed, 7 deletions(-) diff --git a/include/wx/encconv.h b/include/wx/encconv.h index a4eecd05ec..7d925b3551 100644 --- a/include/wx/encconv.h +++ b/include/wx/encconv.h @@ -16,8 +16,6 @@ #include "wx/defs.h" -#if wxUSE_FONTMAP - #include "wx/object.h" #include "wx/fontenc.h" #include "wx/dynarray.h" @@ -162,6 +160,4 @@ class WXDLLIMPEXP_BASE wxEncodingConverter : public wxObject DECLARE_NO_COPY_CLASS(wxEncodingConverter) }; -#endif // wxUSE_FONTMAP - #endif // _WX_ENCCONV_H_ diff --git a/src/common/encconv.cpp b/src/common/encconv.cpp index 8a16e004f4..ac467d90d8 100644 --- a/src/common/encconv.cpp +++ b/src/common/encconv.cpp @@ -18,8 +18,6 @@ #pragma hdrstop #endif -#if wxUSE_FONTMAP - #include "wx/encconv.h" #include @@ -530,4 +528,3 @@ wxFontEncodingArray wxEncodingConverter::GetAllEquivalents(wxFontEncoding enc) return arr; } -#endif // wxUSE_FONTMAP -- 2.47.2