projects
/
wxWidgets.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fixed wxDirExists implementation for OS/2.
[wxWidgets.git]
/
wxPython
/
demo
/
PopupControl.py
diff --git
a/wxPython/demo/PopupControl.py
b/wxPython/demo/PopupControl.py
index 6f3bf1289414edd6da8160e573b96e44a59b45e4..3cb72301718f8c6bcbabaa0ca9c529c3f4e422d2 100644
(file)
--- a/
wxPython/demo/PopupControl.py
+++ b/
wxPython/demo/PopupControl.py
@@
-69,9
+69,10
@@
class TestPanel(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.",
- "Sorry")
- return
+ from Main import MessagePanel
+ win = MessagePanel(nb, 'This demo currently fails on the Mac.',
+ 'Sorry', wx.ICON_WARNING)
+ return win
else:
win = TestPanel(nb, log)
return win
else:
win = TestPanel(nb, log)
return win