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