X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/950e7faf4a09c484409657cf17bae9b90d321475..258836fa259076b4bda6088fe653218645b2e26d:/wxPython/demo/wxLEDNumberCtrl.py diff --git a/wxPython/demo/wxLEDNumberCtrl.py b/wxPython/demo/wxLEDNumberCtrl.py index 1829e72713..4aead17541 100644 --- a/wxPython/demo/wxLEDNumberCtrl.py +++ b/wxPython/demo/wxLEDNumberCtrl.py @@ -12,13 +12,12 @@ class TestPanel(wxPanel): self.log = log led = wxLEDNumberCtrl(self, -1, (25,25), (280, 50)) - led.SetValue("0123456789") - led.SetAlignment(wxLED_ALIGN_RIGHT) + led.SetValue("01234") led = wxLEDNumberCtrl(self, -1, (25,100), (280, 50)) - led.SetValue("0123456789") + led.SetValue("56789") led.SetAlignment(wxLED_ALIGN_RIGHT) - led.SetDrawFaded(false) + led.SetDrawFaded(False) led = wxLEDNumberCtrl(self, -1, (25,175), (280, 50), wxLED_ALIGN_CENTER)# | wxLED_DRAW_FADED) @@ -47,3 +46,11 @@ def runTest(frame, nb, log): overview = """\ """ + + + +if __name__ == '__main__': + import sys,os + import run + run.main(['', os.path.basename(sys.argv[0])]) +