X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/8eca4fef106b8327e2e55636de3f68a511a4c392..d0ee33f5c6908b4ac5e1364381f0ef00942e3936:/wxPython/demo/DynamicSashWindow.py diff --git a/wxPython/demo/DynamicSashWindow.py b/wxPython/demo/DynamicSashWindow.py index ed28ede75f..b06438b6ee 100644 --- a/wxPython/demo/DynamicSashWindow.py +++ b/wxPython/demo/DynamicSashWindow.py @@ -92,8 +92,10 @@ class SimpleView(wx.Panel): def runTest(frame, nb, log): if wx.Platform == "__WXMAC__": - wx.MessageBox("This demo currently fails on the Mac. The problem is being looked into...", "Sorry") - return + from Main import MessagePanel + win = MessagePanel(nb, 'This demo currently fails on the Mac. The problem is being looked into...', + 'Sorry', wx.ICON_WARNING) + return win if 1: win = gizmos.DynamicSashWindow(nb, -1, style = wx.CLIP_CHILDREN