From 0b7e2e66ed62a28bf4e977c5e9a5dc601b2fcae2 Mon Sep 17 00:00:00 2001
From: Matthias Kramm <kramm@quiss.org>
Date: Fri, 4 Jun 2010 16:10:35 -0700
Subject: [PATCH] applied hide_doc.patch from Ricardo Pedroso

---
 wx/gui/plugin.py |    4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/wx/gui/plugin.py b/wx/gui/plugin.py
index 36f21e3..ad52e45 100644
--- a/wx/gui/plugin.py
+++ b/wx/gui/plugin.py
@@ -117,7 +117,9 @@ class Plugin:
                 # 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,
-- 
1.7.10.4