def dontPersistProps(self): # Note this is a workaround for a problem on wxGTK where the size # passed to the frame constructor is actually means ClientSize on wxGTK. # By having this property always set, this overrides the frame size # and uses the same size on Win and Lin props = ContainerDTC.dontPersistProps(self) props.remove('ClientSize') return props
def dontPersistProps(self): return ContainerDTC.dontPersistProps(self) + ['Selection']