]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/demo/PopupControl.py
fixed child windows scrolling to use wxSIZE_ALLOW_MINUS_ONE
[wxWidgets.git] / 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
 
 #----------------------------------------------------------------------