dabo Commit
Revision 4347
Date: 2008-08-03 11:45:05 -0700 (Sun, 03 Aug 2008)
Author: Ed
Trac: http://svn.dabodev.com/trac/dabo/changeset/4347

Changed:
U   trunk/dabo/ui/uiwx/dMenu.py

Log:
Reverted my earlier change that renamed appendItem(), insertItem() and 
prependItem() to begin with an underscore. 


Diff:
Modified: trunk/dabo/ui/uiwx/dMenu.py
===================================================================
--- trunk/dabo/ui/uiwx/dMenu.py 2008-08-03 17:08:03 UTC (rev 4346)
+++ trunk/dabo/ui/uiwx/dMenu.py 2008-08-03 18:45:05 UTC (rev 4347)
@@ -148,19 +148,19 @@
                        wx.App_SetMacPreferencesMenuItemId(id_)
 
        
-       def _appendItem(self, item):
+       def appendItem(self, item):
                """Insert a dMenuItem at the bottom of the menu."""
                wxItem = self._getWxItem(self.AppendItem, item)
                return item
-               
 
-       def _insertItem(self, pos, item):
+
+       def insertItem(self, pos, item):
                """Insert a dMenuItem before the specified position in the 
menu."""
                wxItem = self._getWxItem(self.InsertItem, item, pos)
                return item
                
 
-       def _prependItem(self, item):
+       def prependItem(self, item):
                """Insert a dMenuItem at the top of the menu."""
                wxItem = self._getWxItem(self.PrependItem, item)
                return item
@@ -222,7 +222,7 @@
                        picture = bmp
                def _actualCreation(caption, help, picture, menutype, *args, 
**kwargs):
                        _item = self._getItem(help, picture, menutype, *args, 
**kwargs)
-                       self._appendItem(_item)
+                       self.appendItem(_item)
                        _item.Caption = caption
                        return _item
                dummySpacer = None




_______________________________________________
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]

Reply via email to