git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16102
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
TextToFind ft;
ft.chrg.cpMin = minPos;
ft.chrg.cpMax = maxPos;
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),
return SendMsg(%s, flags, (long)&ft);''',
0),
TextToFind ft;
ft.chrg.cpMin = minPos;
ft.chrg.cpMax = maxPos;
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(2150, flags, (long)&ft);
}
return SendMsg(2150, flags, (long)&ft);
}
TextToFind ft;
ft.chrg.cpMin = minPos;
ft.chrg.cpMax = maxPos;
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),
return SendMsg(%s, flags, (long)&ft);''',
0),
TextToFind ft;
ft.chrg.cpMin = minPos;
ft.chrg.cpMax = maxPos;
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(2150, flags, (long)&ft);
}
return SendMsg(2150, flags, (long)&ft);
}