X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/b09afc93f54d646adddcc7f57b60cf80eaa77b2d..fc576e8d26ac732652485a08368ff9276a48525a:/wxPython/wx/tools/XRCed/panel.py?ds=sidebyside diff --git a/wxPython/wx/tools/XRCed/panel.py b/wxPython/wx/tools/XRCed/panel.py index 4d1cdcaaa9..f58014800e 100644 --- a/wxPython/wx/tools/XRCed/panel.py +++ b/wxPython/wx/tools/XRCed/panel.py @@ -261,7 +261,7 @@ class PropPage(ParamPage): def __init__(self, parent, label, xxx): ParamPage.__init__(self, parent, xxx) self.box = wxStaticBox(self, -1, label) - self.box.SetFont(labelFont) + self.box.SetFont(g.labelFont()) topSizer = wxStaticBoxSizer(self.box, wxVERTICAL) sizer = wxFlexGridSizer(len(xxx.allParams), 2, 1, 1) sizer.AddGrowableCol(1) @@ -334,7 +334,7 @@ class StylePage(ParamPage): def __init__(self, parent, label, xxx): ParamPage.__init__(self, parent, xxx) box = wxStaticBox(self, -1, label) - box.SetFont(labelFont) + box.SetFont(g.labelFont()) topSizer = wxStaticBoxSizer(box, wxVERTICAL) sizer = wxFlexGridSizer(len(xxx.styles), 2, 1, 1) sizer.AddGrowableCol(1)