projects
/
wxWidgets.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
really fixed '-' and '+' drawing
[wxWidgets.git]
/
wxPython
/
demo
/
wxEditableListBox.py
diff --git
a/wxPython/demo/wxEditableListBox.py
b/wxPython/demo/wxEditableListBox.py
index 27ebfe4e852c41729f08a401f4d9ff158884ebab..97b951a6e03b1bd3cf26f453c8d5738e4094d508 100644
(file)
--- a/
wxPython/demo/wxEditableListBox.py
+++ b/
wxPython/demo/wxEditableListBox.py
@@
-9,7
+9,9
@@
class TestPanel(wxPanel):
self.log = log
self.elb = wxEditableListBox(self, -1, "List of Stuff",
self.log = log
self.elb = wxEditableListBox(self, -1, "List of Stuff",
- (50,50), (250, 250))
+ (50,50), (250, 250),
+ )
+ #style=wxEL_ALLOW_NEW | wxEL_ALLOW_EDIT | wxEL_ALLOW_DELETE)
self.elb.SetStrings(["This is a nifty ListBox widget",
"that is editable by the user.",
self.elb.SetStrings(["This is a nifty ListBox widget",
"that is editable by the user.",
@@
-38,3
+40,12
@@
overview = """\
This class provides a composite control that lets the
user easily enter and edit a list of strings.
"""
This class provides a composite control that lets the
user easily enter and edit a list of strings.
"""
+
+
+
+
+if __name__ == '__main__':
+ import sys,os
+ import run
+ run.main(['', os.path.basename(sys.argv[0])])
+