X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/653d2f0cb31eb05c2e7e7b8aa35f001649cf3b88..42f8298f6f42d5d63bb3caf65682b7d9d9f8b702:/wxPython/demo/ActiveX_FlashWindow.py?ds=sidebyside diff --git a/wxPython/demo/ActiveX_FlashWindow.py b/wxPython/demo/ActiveX_FlashWindow.py index 14946614e5..f7d3ef4df3 100644 --- a/wxPython/demo/ActiveX_FlashWindow.py +++ b/wxPython/demo/ActiveX_FlashWindow.py @@ -68,10 +68,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 = """\