X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/3c8ad70ad4de074ff95b5e3629ebc272551921c0..667e5b3e05b4769409203611fc7022f35780309c:/wxPython/demo/ActiveX_FlashWindow.py

diff --git a/wxPython/demo/ActiveX_FlashWindow.py b/wxPython/demo/ActiveX_FlashWindow.py
index 70e681d4c4..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 = """\
@@ -88,7 +88,7 @@ ActiveX control in a very intuitive way.
 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>
 """