Viewer.py
changeset 415 d3d8f8f0b678
parent 375 65ccc896b115
child 416 897ba122460e
--- a/Viewer.py	Mon Jul 06 11:24:37 2009 -0600
+++ b/Viewer.py	Mon Aug 10 11:29:53 2009 -0600
@@ -344,7 +344,7 @@
     def __init__(self, parent, tagname, window, controler, debug = False, instancepath = ""):
         wx.ScrolledWindow.__init__(self, parent, pos=wx.Point(0, 0), size=wx.Size(0, 0), 
             style=wx.HSCROLL | wx.VSCROLL | wx.ALWAYS_SHOW_SB)
-        DebugViewer.__init__(self, controler, debug)
+        DebugViewer.__init__(self, controler.DataProducer, debug)
         self._init_menus()
         # Adding a rubberband to Viewer
         self.rubberBand = RubberBand(drawingSurface=self)