Re: PythonCard and wxPython 2.8

Phil Edwards <[email protected]>
Newsgroups gmane.comp.python.pythoncard
Message-ID <[email protected]>
Aha! Following an e-mail from Kevin about this, I took a look in the 
release notes for 2.8.6.0:

"Some Menu APIs added to make things more consistent. Added 
wx.MenuBar.SetMenuLabel, wx.MenuBar.GetMenuLabel, 
wx.MenuBar.GetMenuLabelText, wx.Menu.GetLabelText, 
wx.MenuItem.SetItemLabel, wx.MenuItem.GetItemLabel, 
wx.MenuItem.GetItemLabelText, wx.MenuItem.GetLabelText. The Get...Label 
functions get the raw label with mnemonics and accelerators, and the 
Get...LabelText functions get the text only, without 
mnemonics/accelerators."

It looks like some of the code in menu.py can be simplified for this 
release of wx. I'll take a look when I get home tonight and see what I 
can come up with.

-- 

Regards

Phil Edwards
Brighton, UK

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.