[wxPython-users] wxGraphicsContext.GetTextExntent() crash

Expo expo at expobrain.net
Thu Jan 3 10:13:11 PST 2008


Robin Dunn ha scritto:
> 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())
> 

It works, thanks


-- 
EXPO - Hardware solution, Software revolution
http://www.expobrain.net

Esposti Daniele
Via Aldo Moro, 14/h
20085 - Locate di Triulzi (MI)
Cell 347/0748470




More information about the wxpython-users mailing list