]> git.saurik.com Git - wxWidgets.git/blobdiff - src/stc/gen_iface.py
Show full screen windows with WS_POPUP style in wxMSW.
[wxWidgets.git] / src / stc / gen_iface.py
index 9db059ea9fe5007f00049e7dd8690ff2faffe283..af2adbbb587d2012745c467a0be1eb397bc1a191 100755 (executable)
@@ -6,7 +6,6 @@
 # Author:       Robin Dunn
 #
 # Created:      5-Sept-2000
-# RCS-ID:       $Id$
 # Copyright:    (c) 2000 by Total Control Software
 # Licence:      wxWindows licence
 #----------------------------------------------------------------------------
@@ -26,7 +25,7 @@ CPP_DEST      = os.path.abspath('./stc.cpp')
 if len(sys.argv) > 1 and sys.argv[1] == '--wxpython':
     DOCSTR_DEST   = os.path.abspath('../../../wxPython/src/_stc_gendocs.i')
 else:
-    DOCSTR_DEST   = '/dev/null'
+    DOCSTR_DEST   = None
 
 
 # Value prefixes to convert
@@ -615,7 +614,12 @@ methodOverrideMap = {
      int %s(const wxString& text) {
          const wxWX2MBbuf buf = wx2stc(text);
          return SendMsg(%s, wx2stclen(text, buf), (sptr_t)(const char*)buf);''',
-     0),
+     ('Replace the target text with the argument text after \\\d processing.',
+      'Text is counted so it can contain NULs.',
+      'Looks for \\\d where d is between 1 and 9 and replaces these with the strings',
+      'matched in the last search operation which were surrounded by \( and \).',
+      'Returns the length of the replacement text including any change',
+      'caused by processing the \\\d patterns.',)),
 
     'SearchInTarget' :
     (0,
@@ -914,6 +918,10 @@ methodOverrideMap = {
       """void* %s(int operation, void* pointer) {
            return (void*)(sptr_t)SendMsg(%s, operation, (sptr_t)pointer); """,
       0),
+      
+    'GetMultiPaste' : 
+    (0, 0, 0, 
+    ('Retrieve the effect of pasting when there are multiple selections.',)),
     
     '' : ('', 0, 0, 0),
 
@@ -999,7 +1007,8 @@ def processIface(iface, h_tmplt, cpp_tmplt, ih_tmplt, h_dest, cpp_dest, docstr_d
     # write out destination files
     open(h_dest, 'w').write(h_text)
     open(cpp_dest, 'w').write(cpp_text)
-    open(docstr_dest, 'w').write(docstrings)
+    if docstr_dest:
+        open(docstr_dest, 'w').write(docstrings)
     open(ih_dest, 'w').write(ih_text)