]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/demo/simple.py
fine-tuned API from the ICO patch
[wxWidgets.git] / wxPython / demo / simple.py
index 3e745d419e73deea58aa78f2c9edafdc1ae8e317..d73680348c063b1d24641f4889c974547eccaa83 100644 (file)
@@ -19,7 +19,10 @@ class MyFrame(wxFrame):
         self.SetMenuBar(menuBar)
 
         panel = wxPanel(self, -1)
-        text = wxStaticText(panel, -1, "Hello World!\nWhere is my menu?")
+        if wxPlatform == "__WXMAC__":
+            text = wxStaticText(panel, -1, "Hello World!\nWhere is my menu?")
+        else:
+            text = wxStaticText(panel, -1, "Hello World!")
         text.SetFont(wxFont(12, wxSWISS, wxNORMAL, wxBOLD))
         text.SetSize(text.GetBestSize())
         btn = wxButton(panel, -1, "Close")