-# 11/17/2003 - Jeff Grimmett (grimmtooth@softhome.net)
-#
-# o Updated for wx namespace
-#
import wx
import wx.gizmos as gizmos
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
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:])