File: wxWizardPageSimple2.py

package info (click to toggle)
boa-constructor 0.4.4cvs20050714-4
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k
  • size: 10,080 kB
  • ctags: 9,175
  • sloc: python: 56,189; sh: 545; makefile: 40
file content (22 lines) | stat: -rw-r--r-- 746 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#Boa:WizardPageSimple:wxWizardPageSimple2

import wx
import wx.wizard

[wxID_WXWIZARDPAGESIMPLE2, wxID_WXWIZARDPAGESIMPLE2BUTTON1, 
] = [wx.NewId() for _init_ctrls in range(2)]

class wxWizardPageSimple2(wx.wizard.WizardPageSimple):
    def _init_ctrls(self, prnt):
        # generated method, don't edit
        wx.wizard.WizardPageSimple.__init__(self, next=None, parent=prnt,
              prev=None)
        self.SetAutoLayout(True)

        self.button1 = wx.Button(id=wxID_WXWIZARDPAGESIMPLE2BUTTON1,
              label='Simple Page 2', name='button1', parent=self,
              pos=wx.Point(8, 8), size=wx.Size(200, 32), style=0)
        self.button1.SetAutoLayout(True)

    def __init__(self, parent):
        self._init_ctrls(parent)