X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/ba2b238e5dd4c270dd2c1e4dd6168f402a0a4e64..59d04dff037f66e9e73b389de72835211f5f0bcd:/wxPython/demo/wxMenu.py diff --git a/wxPython/demo/wxMenu.py b/wxPython/demo/wxMenu.py index c373fa43de..87758ff783 100644 --- a/wxPython/demo/wxMenu.py +++ b/wxPython/demo/wxMenu.py @@ -19,6 +19,12 @@ class MyFrame(wxFrame): self.CreateStatusBar() self.SetStatusText("This is the statusbar") + tc = wxTextCtrl(self, -1, """ +A bunch of bogus menus have been created for this frame. You +can play around with them to see how they behave and then +check the source for this sample to see how to implement them. +""", style=wxTE_READONLY|wxTE_MULTILINE) + # Prepare the menu bar menuBar = wxMenuBar() @@ -28,7 +34,7 @@ class MyFrame(wxFrame): menu1.Append(102, "Venus", "") menu1.Append(103, "Earth", "You may select Earth too") menu1.AppendSeparator() - menu1.Append(104, "Exit", "Close this frame") + menu1.Append(104, "Close", "Close this frame") # Add menu to the menu bar menuBar.Append(menu1, "&Planets")