]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/demo/MDISashDemo.py
workaround sizing bug on Mac
[wxWidgets.git] / wxPython / demo / MDISashDemo.py
index 00cdc3d684066a297bc1a2c010c71aff86e6ddc1..d5d86905a07e202895f4f163f21aedc47a201e89 100644 (file)
@@ -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)