X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/b12ce1d38855ddc7fa167eb18b5382199d2bb363..5f7348ce627157e21bec507623ebd31c1e9dc762:/src/mac/carbon/fontenum.cpp?ds=sidebyside diff --git a/src/mac/carbon/fontenum.cpp b/src/mac/carbon/fontenum.cpp index 467bc95442..ea743eee90 100644 --- a/src/mac/carbon/fontenum.cpp +++ b/src/mac/carbon/fontenum.cpp @@ -17,13 +17,15 @@ // headers // ---------------------------------------------------------------------------- -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma implementation "fontenum.h" #endif // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" +#if wxUSE_FONTMAP + #ifdef __BORLANDC__ #pragma hdrstop #endif @@ -171,3 +173,5 @@ bool wxFontEnumerator::EnumerateEncodings(const wxString& family) return TRUE; } + +#endif