[wxPython-users] wxGraphicsContext.GetTextExntent() crash

Robin Dunn robin at alldunn.com
Thu Jan 3 09:50:38 PST 2008


Expo wrote:
> With this simple code the GetTextExtent() method of wxGraphicsContext 
> crash mysteriosly in apparence.
> 

To work around the bug give the gc a font:

	gc.SetFont(self.GetFont())


-- 
Robin Dunn
Software Craftsman
http://wxPython.org  Java give you jitters?  Relax with wxPython!




More information about the wxpython-users mailing list