Fixed SF Bug #781355. It was a problem with the clipping region. (By

default when drawing the ctrl characters a different drawtext method
is called than for normal text and this one didn't take care of the
clipping region correctly.)  Also fixed a couple buffer overflow
errors.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22618 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robin Dunn
2003-08-05 22:25:38 +00:00
parent f0b7eadf88
commit 3d7a4fe81f
6 changed files with 14 additions and 12 deletions

View File

@@ -395,7 +395,7 @@ methodOverrideMap = {
int len = end - start;
if (!len) return wxEmptyString;
wxMemoryBuffer mbuf(len+1);
wxMemoryBuffer mbuf(len+2);
char* buf = (char*)mbuf.GetWriteBuf(len+1);
SendMsg(%s, 0, (long)buf);
mbuf.UngetWriteBuf(len);