wxpython menu bar not displaying

前端 未结 5 930
梦如初夏
梦如初夏 2021-01-06 15:46

I am trying to write a timetabling program using wxpython for gui and am using the getting started tutorial on the wxpython wiki to get up to speed with wxpython but when I

5条回答
  •  死守一世寂寞
    2021-01-06 16:27

    I had the same error and I solved it no using standard IDs provided by wxWidgets.

    Try with this:

    # wx.ID_ABOUT and wx.ID_EXIT are standard ids provided by wxWidgets.
    menuAbout = filemenu.Append(102, "&About"," Information about this program")
    menuExit = filemenu.Append(103,"E&xit"," Terminate the program")
    

提交回复
热议问题