bug fix. The wxCharBuffer was being destroyed before it was used.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16102 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -254,7 +254,8 @@ methodOverrideMap = {
|
||||
TextToFind ft;
|
||||
ft.chrg.cpMin = minPos;
|
||||
ft.chrg.cpMax = maxPos;
|
||||
ft.lpstrText = (char*)(const char*)wx2stc(text);
|
||||
wxWX2MBbuf buf = wx2stc(text);
|
||||
ft.lpstrText = (char*)(const char*)buf;
|
||||
|
||||
return SendMsg(%s, flags, (long)&ft);''',
|
||||
0),
|
||||
|
Reference in New Issue
Block a user