]> git.saurik.com Git - wxWidgets.git/blobdiff - src/stc/gen_iface.py
fixed bug due to which all items in a virtual control stayed sometimes selected even...
[wxWidgets.git] / src / stc / gen_iface.py
index 82de85895bbe337bc4af03e7a473400896653005..95c039f7a6a3b3cb5884022b73891614ada05515 100644 (file)
@@ -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);''',