projects
/
wxWidgets.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
don't crash on unterminated CDATA elements (patch #1117629)
[wxWidgets.git]
/
wxPython
/
demo
/
Main.py
diff --git
a/wxPython/demo/Main.py
b/wxPython/demo/Main.py
index a31707912be8faaca1f691e0aab7b0be1900eef7..980e9e9a5615b527ec49335ce1cae151833f9a88 100644
(file)
--- a/
wxPython/demo/Main.py
+++ b/
wxPython/demo/Main.py
@@
-112,6
+112,7
@@
_treeList = [
'SpinCtrl',
'SplitterWindow',
'StaticBitmap',
'SpinCtrl',
'SplitterWindow',
'StaticBitmap',
+ 'StaticBox',
'StaticText',
'StatusBar',
'StockButtons',
'StaticText',
'StatusBar',
'StockButtons',
@@
-193,7
+194,7
@@
_treeList = [
'PythonEvents',
'Threads',
'Timer',
'PythonEvents',
'Threads',
'Timer',
- ##'infoframe', # needs better expla
i
nation and some fixing
+ ##'infoframe', # needs better explanation and some fixing
]),
# Clipboard and DnD
]),
# Clipboard and DnD
@@
-218,7
+219,7
@@
_treeList = [
# Other stuff
('Miscellaneous', [
'ColourDB',
# Other stuff
('Miscellaneous', [
'ColourDB',
- ##'DialogUnits', # needs more expla
i
nations
+ ##'DialogUnits', # needs more explanations
'DrawXXXList',
'FileHistory',
'FontEnumerator',
'DrawXXXList',
'FileHistory',
'FontEnumerator',
@@
-318,7
+319,7
@@
class MessagePanel(wx.Panel):
box.Add((10,10), 2)
self.SetSizer(box)
box.Add((10,10), 2)
self.SetSizer(box)
-
+ self.Fit()
#---------------------------------------------------------------------------
#---------------------------------------------------------------------------
@@
-667,7
+668,7
@@
class DemoCodePanel(wx.Panel):
try:
os.makedirs(GetModifiedDirectory())
if not os.path.exists(GetModifiedDirectory()):
try:
os.makedirs(GetModifiedDirectory())
if not os.path.exists(GetModifiedDirectory()):
- wx.LogMessage("BUG: Created demo directory but it still doesn't exit")
+ wx.LogMessage("BUG: Created demo directory but it still doesn't exi
s
t")
raise AssetionError
except:
wx.LogMessage("Error creating demo directory: %s" % GetModifiedDirectory())
raise AssetionError
except:
wx.LogMessage("Error creating demo directory: %s" % GetModifiedDirectory())