X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/70a4ef826ff45fbf06106ae3b6c3a1263eabfe73..13220cca727ed74c2998b4fb89a4d80aacf28e68:/wxPython/demo/ActiveX_FlashWindow.py diff --git a/wxPython/demo/ActiveX_FlashWindow.py b/wxPython/demo/ActiveX_FlashWindow.py index 3d6a2d0273..f7d3ef4df3 100644 --- a/wxPython/demo/ActiveX_FlashWindow.py +++ b/wxPython/demo/ActiveX_FlashWindow.py @@ -68,14 +68,15 @@ 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 = """\
-This demo embeds the Shackwave Flash control, and lets you play a game. +
This demo embeds the Shockwave Flash control, and lets you play a game. """