1. "One example of a wart is that I can use a Wax Font object in SetFont, but I will get a wx.Font back from GetFont."

    Have you considered that wx.Font could be adapted to Font?

    While I share some of your distaste for many of the neocodisms dumped into Python recently, I'd encourage you to investigate the use of interfaces and adaptation for wax.
      posted by Michael Bernstein at 03:14:44 PM on January 07, 2005  
  2. """Have you considered that wx.Font could be adapted to Font?"""

    Yes, but I'm not sure how to do it yet...
      posted by Hans Nowak at 04:28:41 PM on January 07, 2005  
  3. Scratch that. I just added some code that gives all widgets that inherit from WaxObject a custom GetFont, that returns a Wax Font instance rather than a wx.Font.

    I will probably need to refactor this code once I need more methods like this.
      posted by Hans Nowak at 04:59:08 PM on January 07, 2005