[wxPython-users] "wxPython in Action" Erratum

Robin Dunn robin at alldunn.com
Tue Jun 26 11:35:49 PDT 2007


Frank Tobia wrote:
> 
> I've found an inconsistency between the "wxPython in Action" book and 
> the wxPython implementation, regarding the wx.TextAttr class.
> 
> On page 195, 2nd paragraph, the last two sentences state "The class does 
> not have setter methods, since instances of wx.TextAttr are immutable. 
> To change the style of text, you must create an instance."  An 
> inspection of the docs, as well as the class itself, shows this not to 
> be the case.  wx.TextAttr has SetXXX methods corresponding to its GetXXX 
> methods, and is apparently mutable.

Thanks.


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





More information about the wxpython-users mailing list