applied hide_doc.patch from Ricardo Pedroso
authorMatthias Kramm <kramm@quiss.org>
Fri, 4 Jun 2010 23:10:35 +0000 (16:10 -0700)
committerMatthias Kramm <kramm@quiss.org>
Fri, 4 Jun 2010 23:10:35 +0000 (16:10 -0700)
wx/gui/plugin.py

index 36f21e3..ad52e45 100644 (file)
@@ -117,7 +117,9 @@ class Plugin:
                 # To avoid an ugly "DOS Window" to show up
                 flags = win32process.CREATE_NO_WINDOW
             except ImportError:
                 # To avoid an ugly "DOS Window" to show up
                 flags = win32process.CREATE_NO_WINDOW
             except ImportError:
-                flags = 0
+                # See http://msdn.microsoft.com/en-us/library/ms684863(VS.85).aspx
+                # for this flag (CREATE_NO_WINDOW) value
+                flags = 0x08000000
         else:
             flags = 0
         output = Popen(cmd, stdin=PIPE, stdout=PIPE,
         else:
             flags = 0
         output = Popen(cmd, stdin=PIPE, stdout=PIPE,