X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/e50d5284f9b468609e4b55b69329a6e83a1d0c8e..62f864c32c53356b7228591c85b14abc491c46f0:/src/mac/carbon/fontutil.cpp diff --git a/src/mac/carbon/fontutil.cpp b/src/mac/carbon/fontutil.cpp index 005fefab22..6318e4a807 100644 --- a/src/mac/carbon/fontutil.cpp +++ b/src/mac/carbon/fontutil.cpp @@ -17,7 +17,7 @@ // headers // ---------------------------------------------------------------------------- -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma implementation "fontutil.h" #endif @@ -110,7 +110,8 @@ bool wxGetNativeFontEncoding(wxFontEncoding encoding, bool wxTestFontEncoding(const wxNativeEncodingInfo& info) { - return info.encoding == wxFont::GetDefaultEncoding() ; + // basically we should be able to support every encoding via the OS + return true ; }