Quantcast
Channel: wxWidgets: Ticket Query
Viewing all articles
Browse latest Browse all 66

#12092: Standard IDs does not work in Mac OS X menubar

$
0
0

I just started running tutorial on wxPython (2.8.11) and noticed that by using standard IDs menu bar is not working. I have Mac OS X 10.6 (64-bit, latest updates), Python came with Mac, no updates where made (2.6.1). Python runs on 32-bits by setting VERSIONER_PYTHON_PREFER_32_BIT=yes environment variable.

This code example was tested:  http://wiki.wxpython.org/Getting%20Started#Adding_a_menu_bar

After launching application we can see "File" menu, but after pressing we don't get full menu, there is no "About" and "Exit" items. But if we change wx.ID_ABOUT and wx.ID_EXIT to random other numbers menu does work as expected. Looks like there is some problems with Mac OS X and standard IDs?

By using example (File menu does not show up): http://img686.imageshack.us/img686/1658/pyfirst.png

By changing standard IDs to random numbers 10 and 20 (File menu does show up): http://img156.imageshack.us/img156/3002/pysecond.png


Viewing all articles
Browse latest Browse all 66

Latest Images

Trending Articles



Latest Images