X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/69ca6f3cd5dd5fa3b0ef29d665f25f79d031c186..b9ac87bc5cbe46227195e32c44e25831f8206e3c:/wxPython/demo/Unicode.py?ds=sidebyside diff --git a/wxPython/demo/Unicode.py b/wxPython/demo/Unicode.py index 2e654b6efd..c6910a05c4 100644 --- a/wxPython/demo/Unicode.py +++ b/wxPython/demo/Unicode.py @@ -56,7 +56,7 @@ class TestPanel(wxPanel): else: f = self.GetFont() - font = wxFont(14, f.GetFamily(), f.GetStyle(), wxBOLD, false, + font = wxFont(14, f.GetFamily(), f.GetStyle(), wxBOLD, False, f.GetFaceName(), f.GetEncoding()) self.AddLine(box) @@ -79,7 +79,7 @@ class TestPanel(wxPanel): border = wxBoxSizer(wxVERTICAL) border.Add(box, 1, wxEXPAND|wxALL, 10) - self.SetAutoLayout(true) + self.SetAutoLayout(True) self.SetSizer(border)