]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/demo/Unicode.py
Added first cut wxWindows Configuration Tool
[wxWidgets.git] / wxPython / demo / Unicode.py
index 2e654b6efde8f4eca9e82052cd3aae280e7b1bc1..c6910a05c444dfc67b4d4cf91a363a7f9cfb8833 100644 (file)
@@ -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)