X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/409d5a58605cfb202774b59c3af078d3be89d7d5..994a3786b974a2c5b8dfce631193ae0031e7da3f:/src/unix/fontutil.cpp diff --git a/src/unix/fontutil.cpp b/src/unix/fontutil.cpp index 9e976bd3f0..820498427f 100644 --- a/src/unix/fontutil.cpp +++ b/src/unix/fontutil.cpp @@ -71,7 +71,7 @@ static wxHashTable *g_fontHash = (wxHashTable*) NULL; // define the functions to create and destroy native fonts for this toolkit #ifdef __X__ - inline wxNativeFont wxLoadFont(const wxString& fontSpec) + wxNativeFont wxLoadFont(const wxString& fontSpec) { return XLoadQueryFont((Display *)wxGetDisplay(), fontSpec); } @@ -81,7 +81,7 @@ static wxHashTable *g_fontHash = (wxHashTable*) NULL; XFreeFont((Display *)wxGetDisplay(), (XFontStruct *)font); } #elif defined(__WXGTK__) - inline wxNativeFont wxLoadFont(const wxString& fontSpec) + wxNativeFont wxLoadFont(const wxString& fontSpec) { return gdk_font_load( wxConvertWX2MB(fontSpec) ); }