self.log = log
         self.Bind(wx.EVT_SCROLLWIN, self.OnScroll )
         if "gtk2" in wx.PlatformInfo:
         self.log = log
         self.Bind(wx.EVT_SCROLLWIN, self.OnScroll )
         if "gtk2" in wx.PlatformInfo:
 
     def OnScroll( self, event ):
         #print 'event.GetOrientation()',event.GetOrientation()
 
     def OnScroll( self, event ):
         #print 'event.GetOrientation()',event.GetOrientation()
 
 def runTest(frame, nb, log):
     win = TestHtmlPanel(nb, frame, log)
 
 def runTest(frame, nb, log):
     win = TestHtmlPanel(nb, frame, log)