X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/7c41d11aed39e37811c50a0d04b1a6ae25071341..9fd9e47a93dfcdd99c2722e288a0f28a51ce6f5f:/wxPython/demo/wxFileHistory.py diff --git a/wxPython/demo/wxFileHistory.py b/wxPython/demo/wxFileHistory.py index bb90041bf7..9e0725705a 100644 --- a/wxPython/demo/wxFileHistory.py +++ b/wxPython/demo/wxFileHistory.py @@ -21,8 +21,9 @@ class TestPanel(wxPanel): box = wxBoxSizer(wxVERTICAL) # Make and layout the controls - bf = wxFont(14, wxSWISS, wxNORMAL, wxBOLD) - nf = wxFont(11, wxSWISS, wxNORMAL, wxNORMAL) + fs = self.GetFont().GetPointSize() + bf = wxFont(fs+4, wxSWISS, wxNORMAL, wxBOLD) + nf = wxFont(fs+2, wxSWISS, wxNORMAL, wxNORMAL) t = wxStaticText(self, -1, "wxFileHistory") t.SetFont(bf)