Include wx/math.h according to precompiled headers of wx/wx.h (with other minor cleaning).

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39745 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Włodzimierz Skiba
2006-06-15 17:58:49 +00:00
parent 0d1c8f39ba
commit 18680f8651
46 changed files with 238 additions and 237 deletions

View File

@@ -25,7 +25,10 @@
#endif
#include "wx/dc.h"
#include "wx/math.h"
#ifndef WX_PRECOMP
#include "wx/math.h"
#endif
// bool wxDCBase::sm_cacheing = false;
@@ -414,7 +417,7 @@ bool wxDCBase::DoGetPartialTextExtents(const wxString& text, wxArrayInt& widths)
{
int totalWidth = 0;
const size_t len = text.Length();
const size_t len = text.length();
widths.Empty();
widths.Add(0, len);