win = TestPanel(nb, log)
return win
else:
- dlg = wx.MessageDialog(frame, 'This demo only works on MSW.',
- 'Sorry', wx.OK | wx.ICON_INFORMATION)
- dlg.ShowModal()
- dlg.Destroy()
+ from Main import MessagePanel
+ win = MessagePanel(nb, 'This demo only works on Microsoft Windows.',
+ 'Sorry', wx.ICON_WARNING)
+ return win
overview = """\
the win32all extensions, and is more "wx\'ish", meaning that it uses
events and etc. as would be expected from any other wx window.
-<p> This demo embeds the Shackwave Flash control, and lets you play a game.
+<p> This demo embeds the Shockwave Flash control, and lets you play a game.
</body></html>
"""