#----------------------------------------------------------------------
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
#----------------------------------------------------------------------
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:])