]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/wx/tools/XRCed/params.py
docstring update
[wxWidgets.git] / wxPython / wx / tools / XRCed / params.py
index d2a2a1e72a15c01c73a5aa100dadc2a7c82f1b5a..2c3e02d278a524850b7a17e34c2f2092a414c812 100644 (file)
@@ -282,7 +282,7 @@ class ParamFont(PPanel):
                      fontFamiliesWx2Xml.get(font.GetFamily(), "default"),
                      fontStylesWx2Xml.get(font.GetStyle(), "normal"),
                      fontWeightsWx2Xml.get(font.GetWeight(), "normal"),
                      fontFamiliesWx2Xml.get(font.GetFamily(), "default"),
                      fontStylesWx2Xml.get(font.GetStyle(), "normal"),
                      fontWeightsWx2Xml.get(font.GetWeight(), "normal"),
-                     str(font.GetUnderlined()),
+                     str(int(font.GetUnderlined())),
                      font.GetFaceName().encode(),
                      encName
                      ]
                      font.GetFaceName().encode(),
                      encName
                      ]