X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/8fa876ca9ec87e90605808bfcab4d4226965dbad..7b466aee088c864029f6838ecc598010cd68412b:/wxPython/demo/MDISashDemo.py?ds=sidebyside diff --git a/wxPython/demo/MDISashDemo.py b/wxPython/demo/MDISashDemo.py index 00cdc3d684..d5d86905a0 100644 --- a/wxPython/demo/MDISashDemo.py +++ b/wxPython/demo/MDISashDemo.py @@ -1,13 +1,8 @@ #!/usr/bin/env python -# 11/6/2003 - Jeff Grimmett (grimmtooth@softhome.net) -# -# o Updated for wx namespace -# - import wx -import wxScrolledWindow +import ScrolledWindow #---------------------------------------------------------------------- # There are better ways to do IDs, but this demo requires that the window @@ -135,7 +130,7 @@ class MyParentFrame(wx.MDIParentFrame): def OnNewWindow(self, evt): self.winCount = self.winCount + 1 win = wx.MDIChildFrame(self, -1, "Child Window: %d" % self.winCount) - canvas = wxScrolledWindow.MyCanvas(win) + canvas = ScrolledWindow.MyCanvas(win) win.Show(True)