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:
@@ -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);
|
||||
|
Reference in New Issue
Block a user