--- 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)