X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/6ab5d4883f3b51e88ccdd3b59fb0e000b3b6ad0f..25b3661bd4cb44304418b93c0dee1d0dfb99765c:/wxPython/demo/PopupControl.py diff --git a/wxPython/demo/PopupControl.py b/wxPython/demo/PopupControl.py index 6f3bf12894..3cb7230171 100644 --- 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__": - 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