X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/93ccaed86983970c4a2aa5af34593781e5b8964f..f35c265988485487c24c341fd270bd3faac4f6eb:/src/unix/utilsunx.cpp diff --git a/src/unix/utilsunx.cpp b/src/unix/utilsunx.cpp index 80c29861c7..1ecee5f029 100644 --- a/src/unix/utilsunx.cpp +++ b/src/unix/utilsunx.cpp @@ -586,6 +586,9 @@ void wxFatalError( const wxString &msg, const wxString &title ) XFreeFont((Display *)wxGetDisplay(), font); } #elif defined(__WXGTK__) + + #include "gdk/gdk.h" + static inline wxNativeFont wxLoadFont(const wxString& fontSpec) { return gdk_font_load( wxConvCurrent->cWX2MB(fontSpec) );