]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/demo/PopupControl.py
use the MSVC 7.1 DLLs for python versions >= 2.4, not ==
[wxWidgets.git] / wxPython / demo / PopupControl.py
index 6f3bf1289414edd6da8160e573b96e44a59b45e4..3cb72301718f8c6bcbabaa0ca9c529c3f4e422d2 100644 (file)
@@ -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