]> 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 d96e1ec7d466070401e7164d2db8f950f1b865c2..3cb72301718f8c6bcbabaa0ca9c529c3f4e422d2 100644 (file)
@@ -68,8 +68,14 @@ class TestPanel(wx.Panel):
 #----------------------------------------------------------------------
 
 def runTest(frame, nb, log):
-    win = TestPanel(nb, log)
-    return win
+    if wx.Platform == "__WXMAC__":
+        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
 
 #----------------------------------------------------------------------