X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/b4f1aaad5db4fc94a19d5aef92c45b33ccbf5f18..69d818954b5e6e7b4b4e5093dd26dbe2d5f8546c:/wxPython/demo/ContextHelp.py diff --git a/wxPython/demo/ContextHelp.py b/wxPython/demo/ContextHelp.py index 526a884c83..a3aea8b3e6 100644 --- a/wxPython/demo/ContextHelp.py +++ b/wxPython/demo/ContextHelp.py @@ -89,17 +89,8 @@ class TestPanel(wx.Panel): #---------------------------------------------------------------------- def runTest(frame, nb, log): - if wx.Platform == "__WXMAC__": - dlg = wx.MessageDialog( - frame, 'The ContextHelp sample does not currently work well on this platform.', - 'Sorry', wx.OK | wx.ICON_INFORMATION - ) - dlg.ShowModal() - dlg.Destroy() - - else: - win = TestPanel(nb, log) - return win + win = TestPanel(nb, log) + return win #---------------------------------------------------------------------- @@ -116,5 +107,5 @@ help into your application using the wx.SimpleHelpProvider class. if __name__ == '__main__': import sys,os import run - run.main(['', os.path.basename(sys.argv[0])]) + run.main(['', os.path.basename(sys.argv[0])] + sys.argv[1:])