compilation fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45258 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -1120,7 +1120,7 @@ void wxWindowX11::GetTextExtent(const wxString& string,
|
||||
XCharStruct overall;
|
||||
int slen = string.length();
|
||||
|
||||
XTextExtents((XFontStruct*) pFontStruct, (char*) string.c_str(), slen,
|
||||
XTextExtents((XFontStruct*) pFontStruct, (const char*) string.c_str(), slen,
|
||||
&direction, &ascent, &descent2, &overall);
|
||||
|
||||
if ( x )
|
||||
|
Reference in New Issue
Block a user