#!/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
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)