// Created: 05.11.99
// RCS-ID: $Id$
// Copyright: (c) wxWindows team
-// Licence: wxWindows license
+// Licence: wxWindows licence
/////////////////////////////////////////////////////////////////////////////
// General note: this header is private to wxWindows and is not supposed to be
#ifndef _WX_FONTUTIL_H_
#define _WX_FONTUTIL_H_
-#ifdef __GNUG__
+#if defined(__GNUG__) && !defined(__APPLE__)
#pragma interface "fontutil.h"
#endif
// further it might make sense to make it a real class with virtual methods
struct WXDLLEXPORT wxNativeFontInfo
{
-#if defined(_WX_X_FONTLIKE)
+#if wxUSE_PANGO
+ PangoFontDescription *description;
+#elif defined(_WX_X_FONTLIKE)
// the members can't be accessed directly as we only parse the
// xFontName on demand
private:
FATTRS fa;
FONTMETRICS fm;
FACENAMEDESC fn;
-#elif defined(__WXGTK20__)
- PangoFontDescription *description;
#else // other platforms
//
// This is a generic implementation that should work on all ports