compilation fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48731 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
a268f4b734
commit
efb35bebfa
@ -679,7 +679,8 @@ void wxGetTextExtent(WXDisplay* display, const wxFont& font,
|
||||
XCharStruct overall;
|
||||
int slen = str.length();
|
||||
|
||||
XTextExtents((XFontStruct*) pFontStruct, (char*) str.mb_str(), slen,
|
||||
XTextExtents((XFontStruct*) pFontStruct,
|
||||
wx_const_cast(char*, (const char *)str.mb_str()), slen,
|
||||
&direction, &ascent2, &descent2, &overall);
|
||||
|
||||
if ( width )
|
||||
|
Loading…
Reference in New Issue
Block a user