projects
/
wxWidgets.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Avoid crash in SelectAll if there are no nodes besides the root
[wxWidgets.git]
/
wxPython
/
demo
/
ColourSelect.py
diff --git
a/wxPython/demo/ColourSelect.py
b/wxPython/demo/ColourSelect.py
index 48a0e118caac81ffafb357bffd8018a742217a5f..01065dd37b2b19dc797f7836414d114475841bda 100644
(file)
--- a/
wxPython/demo/ColourSelect.py
+++ b/
wxPython/demo/ColourSelect.py
@@
-112,5
+112,5
@@
A coloured button that when clicked allows the user to select a colour from the
if __name__ == '__main__':
import sys,os
import run
if __name__ == '__main__':
import sys,os
import run
- run.main(['', os.path.basename(sys.argv[0])])
+ run.main(['', os.path.basename(sys.argv[0])]
+ sys.argv[1:]
)