]> git.saurik.com Git - wxWidgets.git/blobdiff - src/stc/gen_iface.py
Dialog processing updates and some timer fixes
[wxWidgets.git] / src / stc / gen_iface.py
index 18b28cbdd395a640210125e7e0d0e3abff2cacdf..95c039f7a6a3b3cb5884022b73891614ada05515 100644 (file)
@@ -254,7 +254,8 @@ methodOverrideMap = {
                      TextToFind  ft;
                      ft.chrg.cpMin = minPos;
                      ft.chrg.cpMax = maxPos;
-                     ft.lpstrText = (char*)(const char*)wx2stc(text);
+                     wxWX2MBbuf buf = (wxWX2MBbuf)wx2stc(text);
+                     ft.lpstrText = (char*)(const char*)buf;
 
                      return SendMsg(%s, flags, (long)&ft);''',
                   0),