]>
git.saurik.com Git - wxWidgets.git/blob - wxPython/demo/wxSpinCtrl.py
2 from wxPython
.wx
import *
6 #----------------------------------------------------------------------
8 class TestPanel(wxPanel
):
9 def __init__(self
, parent
, log
):
10 wxPanel
.__init
__(self
, parent
, -1)
14 wxStaticText(self
, -1, "This example uses the wxSpinCtrl control.",
17 sc
= wxSpinCtrl(self
, -1, "", wxPoint(30, 50), wxSize(80, -1))
22 #----------------------------------------------------------------------
24 def runTest(frame
, nb
, log
):
25 win
= TestPanel(nb
, log
)
28 #----------------------------------------------------------------------