diff -r 382b2c848dac -r 4645a3a398ad ConfTreeNodeEditor.py --- a/ConfTreeNodeEditor.py Mon May 21 17:53:50 2012 +0200 +++ b/ConfTreeNodeEditor.py Mon May 21 18:56:44 2012 +0200 @@ -237,10 +237,13 @@ else: self.Editor.Initialize(self.ParamsEditor) - def __init__(self, parent, tagname, controler, window): + def __init__(self, parent, controler, window, tagname=""): EditorPanel.__init__(self, parent, tagname, window, controler) - - self.SetIcon(wx.Bitmap(self.Controler.GetIconPath(), wx.BITMAP_TYPE_PNG)) + + icon_path = self.Controler.GetIconPath() + if icon_path is None: + icon_path = opjimg("Extension") + self.SetIcon(wx.Bitmap(icon_path, wx.BITMAP_TYPE_PNG)) def __del__(self): self.Controler.OnCloseEditor(self) @@ -257,6 +260,15 @@ def HasNoModel(self): return False + def GetBufferState(self): + return False, False + + def Undo(self): + pass + + def Redo(self): + pass + def EnableScrolling(self, enable): self.ScrollingEnabled = enable