]> git.saurik.com Git - wxWidgets.git/commitdiff
This works ok on Mac now
authorRobin Dunn <robin@alldunn.com>
Fri, 13 Oct 2006 19:55:29 +0000 (19:55 +0000)
committerRobin Dunn <robin@alldunn.com>
Fri, 13 Oct 2006 19:55:29 +0000 (19:55 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41996 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

wxPython/demo/PopupControl.py

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