Changeset 733

Show
Ignore:
Timestamp:
10/30/03 14:08:12 (5 years ago)
Author:
gwm
Message:

Completed work on ComposedLayoutDockView?

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/RBSkinning/RBSkinning/wxPythonSkin/dockhost.py

    r708 r733  
    7070        self.wxStandardOptions() 
    7171 
    72         if 'dockcontext' in self.settings: 
    73             self.object.dockcontext = self.context.getnamedvar(self.settings['dockcontext']) 
    74             try: SetDockHost = self.object.dockcontext.SetDockHost 
    75             except AttributeError: pass 
    76             else: SetDockHost(weakref.proxy(self.object)) 
    77         else: 
    78             self.object.dockcontext = None 
     72        self.object.dockcontext = self.wxEvalCond('dockcontext', None) 
     73        try: SetDockHost = self.object.dockcontext.SetDockHost 
     74        except AttributeError: pass 
     75        else: SetDockHost(weakref.proxy(self.object)) 
    7976  
  • trunk/RBSkinning/RBSkinning/wxTools/wxIncrementalTreeModel.py

    r655 r733  
    6262    #def OnDeleteItem(self, evt): pass 
    6363    #def OnCollapsed(self, evt): pass 
    64     #def OnCollaping(self, evt): pass 
     64    #def OnCollapsing(self, evt): pass 
    6565    #def OnExpanded(self, evt): pass 
    6666    #def OnExpanding(self, evt): pass 
     
    153153 
    154154            wx.EVT_TREE_ITEM_COLLAPSED(self.treewin, treeid, self._CallbackReflection('OnCollapsed')) 
    155             wx.EVT_TREE_ITEM_COLLAPSING(self.treewin, treeid, self._CallbackReflection('OnCollaping')) 
     155            wx.EVT_TREE_ITEM_COLLAPSING(self.treewin, treeid, self._CallbackReflection('OnCollapsing')) 
    156156 
    157157            wx.EVT_TREE_ITEM_EXPANDED(self.treewin, treeid, self._CallbackReflection('OnExpanded'))