X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/ec873c943d71f0d5f13e3398557071448cda6c23..a4027e74873007e3430af3bd77019bcab76f6c04:/wxPython/demo/StaticBox.py diff --git a/wxPython/demo/StaticBox.py b/wxPython/demo/StaticBox.py deleted file mode 100644 index f4ab893452..0000000000 --- a/wxPython/demo/StaticBox.py +++ /dev/null @@ -1,47 +0,0 @@ - -import wx - -#---------------------------------------------------------------------- - -class TestPanel(wx.Panel): - def __init__(self, parent, log): - self.log = log - wx.Panel.__init__(self, parent, -1) - - box = wx.StaticBox(self, -1, "This is a wx.StaticBox") - bsizer = wx.StaticBoxSizer(box, wx.VERTICAL) - - t = wx.StaticText(self, -1, "Controls placed \"inside\" the box are really its siblings") - bsizer.Add(t, 0, wx.TOP|wx.LEFT, 10) - - - border = wx.BoxSizer() - border.Add(bsizer, 1, wx.EXPAND|wx.ALL, 25) - self.SetSizer(border) - - -#---------------------------------------------------------------------- - -def runTest(frame, nb, log): - win = TestPanel(nb, log) - return win - -#---------------------------------------------------------------------- - - - -overview = """
-