+ def OnSelect(self, evt):
+ face = self.lb1.GetStringSelection()
+ font = wxFont(28, wxDEFAULT, wxNORMAL, wxNORMAL, false, face)
+ self.txt.SetFont(font)
+ self.txt.SetSize(self.txt.GetBestSize())
+
+## st = font.GetNativeFontInfo().ToString()
+## ni2 = wxNativeFontInfo()
+## ni2.FromString(st)
+## font2 = wxFontFromNativeInfo(ni2)