Ed Leafe wrote: > dabo Commit > Revision 4345 > Date: 2008-08-03 10:07:55 -0700 (Sun, 03 Aug 2008) > Author: Ed > Trac: http://svn.dabodev.com/trac/dabo/changeset/4345 > > Changed: > U trunk/dabo/ui/uiwx/dMenu.py > > Log: > Fixed the problem reported by Nate Lowrie where menus running under Windows > would not properly space their captions. This was analogous to the problem > solved earlier for submenus, and the same solution worked in this case. > > Refactored out the menu item creation code into a single method named > _createMenuItem() that is called from append(), insert() and prepend(). > > Renamed the append-, insert- and prependItem() methods to have a leading > underscore. These are "internal use only" methods and should never be called > in application code.
Why are appendItem(), prependItem(), and insertItem() for internal use only? This breaks AppWizard apps, and how else would an appdev instantiate a dMenuItem and then add it to a dMenu instance? Paul _______________________________________________ Post Messages to: [email protected] Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-dev Searchable Archives: http://leafe.com/archives/search/dabo-dev This message: http://leafe.com/archives/byMID/[EMAIL PROTECTED]
