#endif
#include "wx/dc.h"
-#include "wx/math.h"
+
+#ifndef WX_PRECOMP
+ #include "wx/math.h"
+#endif
// bool wxDCBase::sm_cacheing = false;
{
int totalWidth = 0;
- const size_t len = text.Length();
+ const size_t len = text.length();
widths.Empty();
widths.Add(0, len);