X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/6ab5d4883f3b51e88ccdd3b59fb0e000b3b6ad0f..ce2f068535e48b9c82742c3bc05d154f89f1eb13:/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