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