git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4441
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
#define _WX_UNIX_FONTUTIL_H_
#ifdef __X__
#define _WX_UNIX_FONTUTIL_H_
#ifdef __X__
- struct XFontStruct;
- typedef XFontStruct *wxNativeFont;
+ typedef WXFontStructPtr wxNativeFont;
#elif defined(__WXGTK__)
typedef GdkFont *wxNativeFont;
#else
#elif defined(__WXGTK__)
typedef GdkFont *wxNativeFont;
#else
}
// not found, create a new one
}
// not found, create a new one
- XFontStruct *font = wxLoadQueryNearestFont(pointSize,
+ XFontStruct *font = (XFontStruct *)
+ wxLoadQueryNearestFont(pointSize,
M_FONTDATA->m_family,
M_FONTDATA->m_style,
M_FONTDATA->m_weight,
M_FONTDATA->m_family,
M_FONTDATA->m_style,
M_FONTDATA->m_weight,