Minimal (non)working example: menu does not display

Please excuse cross-posting; after responding to a python mail list
(mirror of comp.lang.python) I realized this is probably a wxPython issue
and not a Python3 issue.

   The attached test file has a wx.Frame(), status bar, and one menu to be
attached to the menu bar. The menu does not display, only the frame and
status bar.

   There is no traceback and running the code from within pdb does not
display an error. I am not seeing what I've done incorrectly and need to
learn what that is.

Rich

test.py (1.42 KB)

You also need to attach the menu bar to the frame.

Karsten

···

On Sat, Apr 28, 2018 at 07:51:15AM -0700, Rich Shepard wrote:

The attached test file has a wx.Frame(), status bar,
and one menu to be attached to the menu bar.

--

Karsten,

   Thank you. I totally missed seeing this in the demo and didn't realize it
was missing.

Much appreciated,

Rich

···

On Sat, 28 Apr 2018, Karsten Hilbert wrote:

You also need to attach the menu bar to the frame.