X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/95bfd958bda8955ac81277c78e5627c926154f39..9e9f08b5ed6715482307be13aa662051a25e9458:/wxPython/demo/DynamicSashWindow.py diff --git a/wxPython/demo/DynamicSashWindow.py b/wxPython/demo/DynamicSashWindow.py index a3f3106b8f..bd1ccbc34a 100644 --- a/wxPython/demo/DynamicSashWindow.py +++ b/wxPython/demo/DynamicSashWindow.py @@ -91,9 +91,11 @@ 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 +## if wx.Platform == "__WXMAC__": +## 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 @@ -160,5 +162,5 @@ You will need to set the scrollbars' event handler at three times: if __name__ == '__main__': import sys,os import run - run.main(['', os.path.basename(sys.argv[0])]) + run.main(['', os.path.basename(sys.argv[0])] + sys.argv[1:])