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 = """\<html><body>
+overview = """\
+<html><body>
<h2>wx.lib.pdfwin.PDFWindow</h2>
The wx.lib.pdfwin.PDFWindow class is another example of using ActiveX