]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/demo/wxLEDNumberCtrl.py
dismiss the popup when an unprocessed key is pressed
[wxWidgets.git] / wxPython / demo / wxLEDNumberCtrl.py
index 1829e727130adddb28bf980fb2042907ba8a9872..22be241dbbb946ba8522a4a15483c9a055e294f7 100644 (file)
@@ -12,11 +12,10 @@ 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)