X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/d1dc2b32e00303839aec0077aefcbc60bd712f00..e79322ef0add87fe2abd0de09f1ff673a60f844c:/wxPython/samples/docview/DocViewDemo.py diff --git a/wxPython/samples/docview/DocViewDemo.py b/wxPython/samples/docview/DocViewDemo.py index 55eb2a1a28..ba7bb6623a 100644 --- a/wxPython/samples/docview/DocViewDemo.py +++ b/wxPython/samples/docview/DocViewDemo.py @@ -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 @@ -121,6 +122,7 @@ class TextEditView(wx.lib.docview.View): def OnDraw(self, dc): + """ For Print and Print Preview """ pass