I have this code in a wxWidgets program: class HtmlHintWindow(wx.Frame): def __init__(self,pos,hint,config): global _current_hint_window # Determine the size of the screen self.screensize = wx.ClientDisplayRect()[2:] # Calculate the size of the hint ;-) self.renderer = MegaXMLRenderer() self.renderer.LoadStyle(config.style) self.cookie, self.parsed_xml = self.renderer.Parse(hint) print "point 1" try: self.image = self.renderer.Render( self.cookie, self.parsed_xml, (0,0,self.screensize[0],self.screensize[1]), draw=True ) finally: print "point 2" raise The program prints out "point 1" but it does not print "point 2". What am I missing? Les
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4