def __init__(self, parent, **traits): """ Creates and initializes the window. """ super(UIWindow, self).__init__(**traits) self.control = wx.Window(parent, -1, size=self.size, style=wx.FULL_REPAINT_ON_RESIZE) init_wx_handlers(self.control, self)
def init_control ( self ): """ Initializes the underlying wx.Window object. """ init_wx_handlers( self.control, self )
def init_control(self): """ Initializes the underlying wx.Window object. """ init_wx_handlers(self.control, self)