X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/536a020f8a34d5f5ca25c00ecb412bce5f1b501e..229653c99e1d679aab15772a4a25909ca52c4d94:/src/stc/gen_iface.py diff --git a/src/stc/gen_iface.py b/src/stc/gen_iface.py index 82de85895b..95c039f7a6 100644 --- a/src/stc/gen_iface.py +++ b/src/stc/gen_iface.py @@ -254,7 +254,7 @@ methodOverrideMap = { TextToFind ft; ft.chrg.cpMin = minPos; ft.chrg.cpMax = maxPos; - wxWX2MBbuf buf = wx2stc(text); + wxWX2MBbuf buf = (wxWX2MBbuf)wx2stc(text); ft.lpstrText = (char*)(const char*)buf; return SendMsg(%s, flags, (long)&ft);''',