From: Alex T. <al...@tw...> - 2006-05-25 23:11:25
|
Some time ago a problem was reported with walkthrough1 and the attached source file starter1.py, which I fixed. I didn't realize there were two more problems (just realized when someone updated the SF bug report). Firstly, the example starts out using the "About" menu selection and later switches to talking about the "Exit" menu selection (I believe the code used to use on_menuFileExit_select, and now uses on_menuFileAbout_select. Secondly, the resource file is set up for the more recent convention with menus - using 'command': 'about, and therefore needs the code changed to use on_about_command. (or the command option needs to be removed from the rsrc file). I'm inclined to think the right thing to do is to change to use "on_about_command", since that is the convention used by the current menuBuilder. I would probably rename it to on_editFileAbout_command. Suggestions ? -- Alex Tweedly http://www.tweedly.net -- No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.1.394 / Virus Database: 268.7.1/347 - Release Date: 24/05/2006 |