X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/d111a89a859456a8649e809eec131f2639907610..0b5d3315b3b96091c326f718d7e1f627e731eb38:/include/wx/utils.h?ds=sidebyside diff --git a/include/wx/utils.h b/include/wx/utils.h index 1b63cccae0..312d644557 100644 --- a/include/wx/utils.h +++ b/include/wx/utils.h @@ -377,31 +377,6 @@ void wxAllocColor(Display *display,Colormap colormap,XColor *xcolor); #endif //__X__ -// ---------------------------------------------------------------------------- -// font-related functions (X and GTK) -// ---------------------------------------------------------------------------- - -#if defined(__X__) || defined(__WXGTK__) - -#ifdef __X__ - typedef XFontStruct *wxNativeFont; -#else // GDK - typedef GdkFont *wxNativeFont; -#endif - -#include "wx/font.h" // for wxFontEncoding - -// returns the handle of the nearest available font or 0 -extern wxNativeFont wxLoadQueryNearestFont(int pointSize, - int family, - int style, - int weight, - bool underlined, - const wxString &facename, - wxFontEncoding encoding); - -#endif // X || GTK - #endif // wxUSE_GUI #endif