projects
/
wxWidgets.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
wxTinderbox build fix.
[wxWidgets.git]
/
wxPython
/
demo
/
DynamicSashWindow.py
diff --git
a/wxPython/demo/DynamicSashWindow.py
b/wxPython/demo/DynamicSashWindow.py
index ed28ede75f6ae3f4981087abd24b9bb0a550855c..b06438b6eed16af08077294f79bc515d88ed62b3 100644
(file)
--- a/
wxPython/demo/DynamicSashWindow.py
+++ b/
wxPython/demo/DynamicSashWindow.py
@@
-92,8
+92,10
@@
class SimpleView(wx.Panel):
def runTest(frame, nb, log):
if wx.Platform == "__WXMAC__":
def runTest(frame, nb, log):
if wx.Platform == "__WXMAC__":
- wx.MessageBox("This demo currently fails on the Mac. The problem is being looked into...", "Sorry")
- return
+ from Main import MessagePanel
+ win = MessagePanel(nb, 'This demo currently fails on the Mac. The problem is being looked into...',
+ 'Sorry', wx.ICON_WARNING)
+ return win
if 1:
win = gizmos.DynamicSashWindow(nb, -1, style = wx.CLIP_CHILDREN
if 1:
win = gizmos.DynamicSashWindow(nb, -1, style = wx.CLIP_CHILDREN