From 06fe86b734e64b5cb0da19a013352ef7530a14bc Mon Sep 17 00:00:00 2001 From: Robin Dunn Date: Fri, 16 Jul 2004 20:31:48 +0000 Subject: [PATCH] Fixed typo and increased the size of the cache used by DoGetPartialTextExtents git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28268 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/common/dcbase.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/common/dcbase.cpp b/src/common/dcbase.cpp index c683ff4f58..c6842886a1 100644 --- a/src/common/dcbase.cpp +++ b/src/common/dcbase.cpp @@ -371,12 +371,12 @@ void wxDCBase::DoDrawSpline( wxList *points ) // Each element of the widths array will be the width of the string up to and -// including the coresoponding character in text. This is the generic +// including the coresponding character in text. This is the generic // implementation, the port-specific classes should do this with native APIs // if available and if faster. Note: pango_layout_index_to_pos is much slower // than calling GetTextExtent!! -#define FWC_SIZE 128 +#define FWC_SIZE 256 class FontWidthCache {