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:
@@ -32,6 +32,6 @@ wxLoadQueryNearestFont(int pointSize,
|
|||||||
wxString* xFontName = (wxString *)NULL);
|
wxString* xFontName = (wxString *)NULL);
|
||||||
|
|
||||||
// returns the font specified by the given XLFD
|
// returns the font specified by the given XLFD
|
||||||
extern inline wxNativeFont wxLoadFont(const wxString& fontSpec);
|
extern wxNativeFont wxLoadFont(const wxString& fontSpec);
|
||||||
|
|
||||||
#endif // _WX_UNIX_FONTUTIL_H_
|
#endif // _WX_UNIX_FONTUTIL_H_
|
||||||
|
@@ -71,7 +71,7 @@ static wxHashTable *g_fontHash = (wxHashTable*) NULL;
|
|||||||
|
|
||||||
// define the functions to create and destroy native fonts for this toolkit
|
// define the functions to create and destroy native fonts for this toolkit
|
||||||
#ifdef __X__
|
#ifdef __X__
|
||||||
inline wxNativeFont wxLoadFont(const wxString& fontSpec)
|
wxNativeFont wxLoadFont(const wxString& fontSpec)
|
||||||
{
|
{
|
||||||
return XLoadQueryFont((Display *)wxGetDisplay(), fontSpec);
|
return XLoadQueryFont((Display *)wxGetDisplay(), fontSpec);
|
||||||
}
|
}
|
||||||
@@ -81,7 +81,7 @@ static wxHashTable *g_fontHash = (wxHashTable*) NULL;
|
|||||||
XFreeFont((Display *)wxGetDisplay(), (XFontStruct *)font);
|
XFreeFont((Display *)wxGetDisplay(), (XFontStruct *)font);
|
||||||
}
|
}
|
||||||
#elif defined(__WXGTK__)
|
#elif defined(__WXGTK__)
|
||||||
inline wxNativeFont wxLoadFont(const wxString& fontSpec)
|
wxNativeFont wxLoadFont(const wxString& fontSpec)
|
||||||
{
|
{
|
||||||
return gdk_font_load( wxConvertWX2MB(fontSpec) );
|
return gdk_font_load( wxConvertWX2MB(fontSpec) );
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user