]> git.saurik.com Git - wxWidgets.git/blobdiff - src/stc/gen_iface.py
Removed rundant files, updated readme.txt.
[wxWidgets.git] / src / stc / gen_iface.py
index 82de85895bbe337bc4af03e7a473400896653005..8c30ad99e6840c900bcc43a2c3b81385d6c49360 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);''',
@@ -488,13 +488,13 @@ methodOverrideMap = {
     'AddRefDocument' : (0,
                        'void %s(void* docPointer);',
                        '''void %s(void* docPointer) {
-                           SendMsg(%s, (long)docPointer);''',
+                           SendMsg(%s, 0, (long)docPointer);''',
                         0),
 
     'ReleaseDocument' : (0,
                        'void %s(void* docPointer);',
                        '''void %s(void* docPointer) {
-                           SendMsg(%s, (long)docPointer);''',
+                           SendMsg(%s, 0, (long)docPointer);''',
                          0),
     'SetCodePage' : (0,
                      0,
@@ -553,6 +553,12 @@ def processIface(iface, h_tmplt, cpp_tmplt, h_dest, cpp_dest):
         elif op == 'evt ':
             pass
 
+        elif op == 'enu ':
+            pass
+
+        elif op == 'lex ':
+            pass
+
         else:
             print '***** Unknown line type: ', line