]> git.saurik.com Git - wxWidgets.git/blobdiff - src/x11/dcclient.cpp
Added SetActive to wxEventLoop
[wxWidgets.git] / src / x11 / dcclient.cpp
index 8307fe264c847e11bceead70b8b456125282aa27..c6c808c37601f1fae95b748e78ecbf2656863f4f 100644 (file)
@@ -1375,7 +1375,7 @@ void wxWindowDC::DoDrawText( const wxString &text, wxCoord x, wxCoord y )
         slen = strlen(text);
         XCharStruct overall_return;
 
         slen = strlen(text);
         XCharStruct overall_return;
 
-        (void)XTextExtents(xfont, text.c_str(), slen, &direction,
+        (void)XTextExtents(xfont, (char*) text.c_str(), slen, &direction,
                                  &ascent, &descent, &overall_return);
 
         cx = overall_return.width;
                                  &ascent, &descent, &overall_return);
 
         cx = overall_return.width;