File: wxWizardPageSimple2.py

package info (click to toggle)
boa-constructor 0.3.0-3
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 8,188 kB
  • ctags: 8,857
  • sloc: python: 54,163; sh: 66; makefile: 36
file content (21 lines) | stat: -rw-r--r-- 767 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
#Boa:WizardPageSimple:wxWizardPageSimple2

from wxPython.wx import *
from wxPython.wizard import *

[wxID_WXWIZARDPAGESIMPLE2, wxID_WXWIZARDPAGESIMPLE2BUTTON1, 
] = map(lambda _init_ctrls: wxNewId(), range(2))

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

        self.button1 = wxButton(id=wxID_WXWIZARDPAGESIMPLE2BUTTON1,
              label='Simple Page 2', name='button1', parent=self, pos=wxPoint(8,
              8), size=wxSize(200, 32), style=0)
        self.button1.SetAutoLayout(True)

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