changed 'extern inline' to extern only
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13655 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -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) );
|
||||
}
|
||||
|
Reference in New Issue
Block a user