X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/8eca4fef106b8327e2e55636de3f68a511a4c392..25b3661bd4cb44304418b93c0dee1d0dfb99765c:/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 #----------------------------------------------------------------------