]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/demo/PopupControl.py
DMC fix.
[wxWidgets.git] / wxPython / demo / PopupControl.py
index d96e1ec7d466070401e7164d2db8f950f1b865c2..6f3bf1289414edd6da8160e573b96e44a59b45e4 100644 (file)
@@ -68,8 +68,13 @@ class TestPanel(wx.Panel):
 #----------------------------------------------------------------------
 
 def runTest(frame, nb, log):
-    win = TestPanel(nb, log)
-    return win
+    if wx.Platform == "__WXMAC__":
+        wx.MessageBox("This demo currently fails on the Mac.",
+                     "Sorry")
+        return
+    else:
+        win = TestPanel(nb, log)
+        return win
 
 #----------------------------------------------------------------------