Viewer.py
changeset 416 897ba122460e
parent 400 12b55d82d363
parent 415 d3d8f8f0b678
child 431 c1c92d068ac5
child 432 f4c0e9c9b3b9
--- a/Viewer.py	Wed Sep 02 08:30:34 2009 -0600
+++ b/Viewer.py	Wed Sep 02 08:39:18 2009 -0600
@@ -452,7 +452,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)