projects
/
wxWidgets.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Use the posix S_ISREG instead of S_IFREG if it is defined. Fixes wxFileExists
[wxWidgets.git]
/
wxPython
/
demo
/
Main.py
diff --git
a/wxPython/demo/Main.py
b/wxPython/demo/Main.py
index 9632a378fcaae1286183666b55b15f413956ffee..b6a429c4a59f5a42841e72909259b3200ebf40f9 100644
(file)
--- a/
wxPython/demo/Main.py
+++ b/
wxPython/demo/Main.py
@@
-36,8
+36,8
@@
import images
# For debugging
##wx.Trap();
# For debugging
##wx.Trap();
-##print "wx.VERSION_STRING =
", wx.VERSION_STRING
-##print
os.getpid();
+##print "wx.VERSION_STRING =
%s (%s)" % (wx.VERSION_STRING, wx.USE_UNICODE and 'unicode' or 'ansi')
+##print
"pid:", os.getpid()
##raw_input("Press Enter...")
##raw_input("Press Enter...")
@@
-47,6
+47,9
@@
import images
_treeList = [
# new stuff
('Recent Additions/Updates', [
_treeList = [
# new stuff
('Recent Additions/Updates', [
+ 'AnalogClock',
+ 'CheckListCtrlMixin',
+ 'RichTextCtrl',
'Treebook',
'Toolbook',
]),
'Treebook',
'Toolbook',
]),
@@
-129,7
+132,7
@@
_treeList = [
]),
('Custom Controls', [
]),
('Custom Controls', [
- 'AnalogClock
Window
',
+ 'AnalogClock',
'ColourSelect',
'Editor',
'GenericButtons',
'ColourSelect',
'Editor',
'GenericButtons',
@@
-149,6
+152,7
@@
_treeList = [
#'RightTextCtrl', deprecated as we have wxTE_RIGHT now.
'Calendar',
'CalendarCtrl',
#'RightTextCtrl', deprecated as we have wxTE_RIGHT now.
'Calendar',
'CalendarCtrl',
+ 'CheckListCtrlMixin',
'ContextHelp',
'DatePickerCtrl',
'DynamicSashWindow',
'ContextHelp',
'DatePickerCtrl',
'DynamicSashWindow',
@@
-170,6
+174,7
@@
_treeList = [
'PyCrust',
'PyPlot',
'PyShell',
'PyCrust',
'PyPlot',
'PyShell',
+ 'RichTextCtrl',
'ScrolledPanel',
'SplitTree',
'StyledTextCtrl_1',
'ScrolledPanel',
'SplitTree',
'StyledTextCtrl_1',
@@
-455,7
+460,7
@@
try:
'fore:#000000,back:#FFFFFF,face:Courier New,size:9')
else:
self.StyleSetSpec(stc.STC_STYLE_DEFAULT,
'fore:#000000,back:#FFFFFF,face:Courier New,size:9')
else:
self.StyleSetSpec(stc.STC_STYLE_DEFAULT,
- 'fore:#000000,back:#FFFFFF,face:Courier,size:
12
')
+ 'fore:#000000,back:#FFFFFF,face:Courier,size:
9
')
# Clear styles and revert to default.
self.StyleClearAll()
# Clear styles and revert to default.
self.StyleClearAll()