+ if not hadImportError:
+ win = TestPanel(nb, log)
+ else:
+ from Main import MessagePanel
+ win = MessagePanel(nb, """\
+This demo requires the Numeric or numarray module,
+which could not be imported. It probably is not installed
+(it's not part of the standard Python distribution). See the
+Python site (http://www.python.org) for information on
+downloading source or binaries.""",
+ 'Sorry', wx.ICON_WARNING)
+