X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/8fa876ca9ec87e90605808bfcab4d4226965dbad..52f52ebc4e0be6a9899d328b08db9eb14629d219:/wxPython/demo/PrintFramework.py diff --git a/wxPython/demo/PrintFramework.py b/wxPython/demo/PrintFramework.py index ce6c1ff603..ea3881e68f 100644 --- a/wxPython/demo/PrintFramework.py +++ b/wxPython/demo/PrintFramework.py @@ -1,12 +1,6 @@ -# 11/13/2003 - Jeff Grimmett (grimmtooth@softhome.net) -# -# o Updated for wx namespace -# o Got rid of static buton IDs -# o Took at a stab at a lucid overview string. -# import wx -import wxScrolledWindow +import ScrolledWindow #---------------------------------------------------------------------- @@ -108,7 +102,7 @@ class TestPrintPanel(wx.Panel): self.printData.SetPaperId(wx.PAPER_LETTER) self.box = wx.BoxSizer(wx.VERTICAL) - self.canvas = wxScrolledWindow.MyCanvas(self) + self.canvas = ScrolledWindow.MyCanvas(self) self.box.Add(self.canvas, 1, wx.GROW) subbox = wx.BoxSizer(wx.HORIZONTAL)