X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/0bea2d47cbd5a30eac3c2899a9eb66c3df3fa744..2356708db31b737c6eae53c2316b642aa5a2e68d:/utils/wxPython/tests/hangman.py diff --git a/utils/wxPython/tests/hangman.py b/utils/wxPython/tests/hangman.py index 89477ef462..76b9622689 100644 --- a/utils/wxPython/tests/hangman.py +++ b/utils/wxPython/tests/hangman.py @@ -105,7 +105,10 @@ class HangmanWnd(wxWindow): def __init__(self, parent, id, pos=wxDefaultPosition, size=wxDefaultSize): wxWindow.__init__(self, parent, id, pos, size) self.SetBackgroundColour(wxNamedColour('white')) - self.font = wxFont(10, wxMODERN, wxNORMAL, wxNORMAL) + if wxPlatform == '__WXGTK__': + self.font = wxFont(12, wxMODERN, wxNORMAL, wxNORMAL) + else: + self.font = wxFont(10, wxMODERN, wxNORMAL, wxNORMAL) self.SetFocus() def StartGame(self, word): self.word = word @@ -257,8 +260,10 @@ class MyFrame(wxFrame): urls = [ 'wxPython home', 'http://208.240.253.245/wxPython/main.html', 'slashdot.org', 'http://slashdot.org/', 'cnn.com', 'http://cnn.com', - 'The new york Times', 'http://www.nytimes.com', - 'De Volkskrant', 'http://www.volkskrant.nl/frameless/25000006.html'] + 'The New York Times', 'http://www.nytimes.com', + 'De Volkskrant', 'http://www.volkskrant.nl/frameless/25000006.html', + 'Gnu GPL', 'http://www.fsf.org/copyleft/gpl.html', + 'Bijbel: Genesis', 'http://www.coas.com/bijbel/gn1.htm'] urlmenu = wxMenu() for item in range(0,len(urls),2): urlmenu.Append(1020+item/2, urls[item], urls[item+1])