X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/8eca4fef106b8327e2e55636de3f68a511a4c392..d0ee33f5c6908b4ac5e1364381f0ef00942e3936:/wxPython/demo/PopupControl.py diff --git a/wxPython/demo/PopupControl.py b/wxPython/demo/PopupControl.py index d96e1ec7d4..3cb7230171 100644 --- a/wxPython/demo/PopupControl.py +++ b/wxPython/demo/PopupControl.py @@ -68,8 +68,14 @@ class TestPanel(wx.Panel): #---------------------------------------------------------------------- def runTest(frame, nb, log): - win = TestPanel(nb, log) - return win + if wx.Platform == "__WXMAC__": + 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 #----------------------------------------------------------------------