compilation fixes

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45258 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Václav Slavík
2007-04-05 15:38:36 +00:00
parent 4bd5322403
commit 3ad2d97259
2 changed files with 3 additions and 3 deletions

View File

@@ -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 )