X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/8eca4fef106b8327e2e55636de3f68a511a4c392..414dfb5804fc568b26fec3f8a8ecc2f25addedfd:/wxPython/demo/PopupControl.py?ds=sidebyside diff --git a/wxPython/demo/PopupControl.py b/wxPython/demo/PopupControl.py index d96e1ec7d4..6f3bf12894 100644 --- a/wxPython/demo/PopupControl.py +++ b/wxPython/demo/PopupControl.py @@ -68,8 +68,13 @@ class TestPanel(wx.Panel): #---------------------------------------------------------------------- def runTest(frame, nb, log): - win = TestPanel(nb, log) - return win + if wx.Platform == "__WXMAC__": + wx.MessageBox("This demo currently fails on the Mac.", + "Sorry") + return + else: + win = TestPanel(nb, log) + return win #----------------------------------------------------------------------