X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/b5a5d6473c0f5339854a4105a57c6a733632f073..768f1af6a29f426b62aa14f854bf4847dc384a7e:/wxPython/demo/simple.py diff --git a/wxPython/demo/simple.py b/wxPython/demo/simple.py index c11a86f42b..beed3ee0cd 100644 --- a/wxPython/demo/simple.py +++ b/wxPython/demo/simple.py @@ -9,7 +9,7 @@ from wxPython.wx import * class MyFrame(wxFrame): """ - This is MyFrame. It just shows a few controls on a wxPanel, + This is MyFrame. It just shows a few controls on a wxPanel, and has a simple menu. """ def __init__(self, parent, title): @@ -23,11 +23,7 @@ class MyFrame(wxFrame): self.SetMenuBar(menuBar) panel = wxPanel(self, -1) - if wxPlatform == "__WXMAC__": - text = wxStaticText(panel, -1, - "Hello World!\nWhere is my menu?") - else: - text = wxStaticText(panel, -1, "Hello World!") + text = wxStaticText(panel, -1, "Hello World!") text.SetFont(wxFont(12, wxSWISS, wxNORMAL, wxBOLD)) text.SetSize(text.GetBestSize()) btn = wxButton(panel, -1, "Close")