Esempio n. 1
0
 def __init__(self, parent):
     if self.__class__ is Editor:
         raise Exception('Cannot instantiate abstract class %s.' % self.__class__)
     View.__init__(self, parent)
     
     self._contentChangedEventHandler = None
     self._contentSavedEventHandler = None
Esempio n. 2
0
 def __init__(self, parent, name, caption, pos=wx.DefaultPosition, showCaption=True):
     if self.__class__ is Pane:
         raise Exception('Cannot instantiate abstract class %s.' % self.__class__)
     View.__init__(self, parent)
     
     self._name = name
     self._caption = caption
     self._pos = pos
     self._showCaption = showCaption