]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/samples/docview/DocViewDemo.py
HandlePrintClient shouldn't go above a top-level window
[wxWidgets.git] / wxPython / samples / docview / DocViewDemo.py
index 55eb2a1a281ee0427a073d0fe61c5510feae7ee1..7fa1f5fc9bc8755662e13b8c79b66885e32bcb5e 100644 (file)
@@ -6,8 +6,8 @@
 #
 # Created:      8/1/03
 # CVS-ID:       $Id$
-# Copyright:    (c) 2003, 2004 ActiveGrid, Inc. (Port of wxWindows classes by Julian Smart et al)
-# License:      wxWindows license
+# Copyright:    (c) 2003-2005 ActiveGrid, Inc. (Port of wxWindows classes by Julian Smart et al)
+# License:      wxWindows License
 #----------------------------------------------------------------------------
 
 
@@ -91,6 +91,7 @@ class TextEditView(wx.lib.docview.View):
             sizer.Add(self._textsw, 1, wx.EXPAND, 0)
             self._frame.SetSizer(sizer)
             self._frame.Layout()
+            self._frame.Show(True)
             self.Activate(True)
             return True
         else:  # flags & wx.lib.docview.DOC_SDI