#ifndef WX_PRECOMP
#include "wx/app.h"
+ #include "wx/window.h"
+ #include "wx/dcmemory.h"
+ #include "wx/math.h"
+ #include "wx/image.h"
+ #include "wx/module.h"
#endif
-#include "wx/dcmemory.h"
-#include "wx/window.h"
-#include "wx/image.h"
-#include "wx/module.h"
#include "wx/fontutil.h"
#include "wx/x11/private.h"
-#include "wx/math.h"
-
#if wxUSE_UNICODE
#include "glib.h"
#include "pango/pangox.h"
#endif
{
XDrawString( (Display*) m_display, (Window) m_window,
- (GC) m_textGC, x, y + XFontStructGetAscent(xfont), text.c_str(), text.Len() );
+ (GC) m_textGC, x, y + XFontStructGetAscent(xfont), text.c_str(), text.length() );
}
#if 0
int direction, ascent, descent2;
XCharStruct overall;
- XTextExtents( xfont, (char*) string.c_str(), string.Len(), &direction,
+ XTextExtents( xfont, (char*) string.c_str(), string.length(), &direction,
&ascent, &descent2, &overall);
if (width)