]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/demo/wxFileHistory.py
corrected Unicode conversion when replacing shared library extension with ".rsrc"
[wxWidgets.git] / wxPython / demo / wxFileHistory.py
index 0da510cf4de76a72eec6173245182d613d8e1893..ebedc59f4141f9dd6ad39737aa2fff74674ef08f 100644 (file)
@@ -8,7 +8,7 @@ text = """\
 Right-click on the panel to get a menu.  This menu will be managed by
 a wxFileHistory object and so the files you select will automatically
 be added to the end of the menu and will be selectable the next time
 Right-click on the panel to get a menu.  This menu will be managed by
 a wxFileHistory object and so the files you select will automatically
 be added to the end of the menu and will be selectable the next time
-the menu is viewed.  The filename selcted, either via the Open menu
+the menu is viewed.  The filename selected, either via the Open menu
 item, or from the history, will be displayed in the log window below.
 """
 
 item, or from the history, will be displayed in the log window below.
 """
 
@@ -30,7 +30,7 @@ class TestPanel(wxPanel):
         box.Add(t, 0, wxCENTER|wxALL, 5)
 
         box.Add(wxStaticLine(self, -1), 0, wxEXPAND)
         box.Add(t, 0, wxCENTER|wxALL, 5)
 
         box.Add(wxStaticLine(self, -1), 0, wxEXPAND)
-        box.Add(10,20)
+        box.Add((10,20))
 
         t = wxStaticText(self, -1, text)
         t.SetFont(nf)
 
         t = wxStaticText(self, -1, text)
         t.SetFont(nf)