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