def __init__(self, parent, id, log):
wxHtmlWindow.__init__(self, parent, id)
self.log = log
+ EVT_SCROLLWIN( self, self.OnScroll )
+
+ def OnScroll( self, event ):
+ print 'event.GetOrientation()',event.GetOrientation()
+ print 'event.GetPosition()',event.GetPosition()
+ event.Skip()
def OnLinkClicked(self, linkinfo):
def OnPrint(self, event):
+ ##self.printer.GetPageSetupData().SetMarginTopLeft((100,100))
self.printer.PrintFile(self.html.GetOpenedPage())
#----------------------------------------------------------------------