Created
June 4, 2013 19:54
-
-
Save EdLeafe/5709017 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def _checkSizer(self): | |
"""Makes sure the sizer is created before setting props that need it.""" | |
if self.Sizer is None: | |
self.Sizer = self.SizerClass(Parent=self) | |
self.Sizer.Orientation = self.Orientation | |
self.Sizer.Caption = self.Caption |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment