X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/3c8ad70ad4de074ff95b5e3629ebc272551921c0..42f8298f6f42d5d63bb3caf65682b7d9d9f8b702:/wxPython/demo/ActiveX_PDFWindow.py diff --git a/wxPython/demo/ActiveX_PDFWindow.py b/wxPython/demo/ActiveX_PDFWindow.py index 6281f3e1bd..c7c52aab62 100644 --- a/wxPython/demo/ActiveX_PDFWindow.py +++ b/wxPython/demo/ActiveX_PDFWindow.py @@ -67,10 +67,10 @@ def runTest(frame, nb, log): 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 = """\