Skip to content

Instantly share code, notes, and snippets.

@kevinw
Created January 11, 2011 19:11
Show Gist options
  • Save kevinw/774944 to your computer and use it in GitHub Desktop.
Save kevinw/774944 to your computer and use it in GitHub Desktop.
def main2():
from tests.testapp import testapp
from gui import skin
with testapp(plugins=False):
f = wx.Frame(None)
p = wx.Panel(f)
c = wx.CheckBox(p, -1, 'Test')
margins = skin.ZeroMargins
def layout():
sz = wx.BoxSizer(wx.VERTICAL)
sz.Add(c)
p.Sizer = margins.Sizer(sz)
layout()
layout()
f.Show()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment