Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
Tim Diller committed Aug 11, 2011
1 parent 7e887e1 commit ca06cf2
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions wx/slider_spin.py
@@ -0,0 +1,23 @@
import wx

FRAME_TITLE = "Demo"
FRAME_SIZE = (300,200)

class AppFrame(wx.Frame):
def __init__(self):
wx.Frame.__init__( self,
None, -1, FRAME_TITLE,
size=FRAME_SIZE,
style=wx.DEFAULT_FRAME_STYLE )
self.sizer = wx.BoxSizer( wx.VERTICAL )

# put stuff into sizer

# apply sizer
self.SetSizer(self.sizer)
self.SetAutoLayout(1)
self.Show(1)

app = wx.PySimpleApp()
frame = AppFrame()
app.MainLoop()

0 comments on commit ca06cf2

Please sign in to comment.