- return wx.TheFontList.FindOrCreateFont(font.get("size", self.defaultSize),
- font.get("family", self.defaultFamily),
- font.get("style", self.defaultStyle),
- font.get("weight", self.defaultWeight),
- encoding = font.get("encoding", self.defaultEncoding))
+ return wx.Font(font.get("size", self.defaultSize),
+ font.get("family", self.defaultFamily),
+ font.get("style", self.defaultStyle),
+ font.get("weight",self.defaultWeight),
+ False, "",
+ font.get("encoding", self.defaultEncoding))