X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/d56cebe7a497773d8753ea2ab874c4445bac18dc..72858fcf67bf670ea18fe48a6b039d61afa87131:/wxPython/demo/wxChoice.py?ds=sidebyside diff --git a/wxPython/demo/wxChoice.py b/wxPython/demo/wxChoice.py index da6fa7b2a0..d92f4f8e45 100644 --- a/wxPython/demo/wxChoice.py +++ b/wxPython/demo/wxChoice.py @@ -15,8 +15,7 @@ class TestChoice(wxPanel): wxPoint(15, 10)) wxStaticText(self, -1, "Select one:", wxPoint(15, 50), wxSize(75, 20)) - self.ch = wxChoice(self, 40, (80, 50), (95, 125), - choices = sampleList) + self.ch = wxChoice(self, 40, (80, 50), choices = sampleList) EVT_CHOICE(self, 40, self.EvtChoice) @@ -47,3 +46,13 @@ def runTest(frame, nb, log): overview = """\ A choice item is used to select one of a list of strings. Unlike a listbox, only the selection is visible until the user pulls down the menu of choices. """ + + + + + +if __name__ == '__main__': + import sys,os + import run + run.main(['', os.path.basename(sys.argv[0])]) +