]> git.saurik.com Git - wxWidgets.git/blame - wxPython/samples/wxPIA_book/Chapter-07/checkbox.py
fix building/running of tex2rtf
[wxWidgets.git] / wxPython / samples / wxPIA_book / Chapter-07 / checkbox.py
CommitLineData
be05b434
RD
1import wx
2
3class CheckBoxFrame(wx.Frame):
4 def __init__(self):
5 wx.Frame.__init__(self, None, -1, 'Checkbox Example',
6 size=(150, 200))
7 panel = wx.Panel(self, -1)
8 wx.CheckBox(panel, -1, "Alpha", (35, 40), (150, 20))
9 wx.CheckBox(panel, -1, "Beta", (35, 60), (150, 20))
10 wx.CheckBox(panel, -1, "Gamma", (35, 80), (150, 20))
11
12if __name__ == '__main__':
13 app = wx.PySimpleApp()
14 CheckBoxFrame().Show()
15 app.MainLoop()
16