Skip to content

Instantly share code, notes, and snippets.

@EdLeafe
Created June 4, 2013 19:54
Show Gist options
  • Save EdLeafe/5709017 to your computer and use it in GitHub Desktop.
Save EdLeafe/5709017 to your computer and use it in GitHub Desktop.
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