def as_parent(self): u"""Returns the wx.Window for child windows to use as a parent.""" return self.get_parent() # overridden for windows