]> git.saurik.com Git - wxWidgets.git/commitdiff
ContextHelp is fixed on wxMac
authorRobin Dunn <robin@alldunn.com>
Thu, 26 Feb 2004 20:49:22 +0000 (20:49 +0000)
committerRobin Dunn <robin@alldunn.com>
Thu, 26 Feb 2004 20:49:22 +0000 (20:49 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25962 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

wxPython/demo/ContextHelp.py

index 526a884c83394871833c3c3b9a097dcd927ea1ae..3a6727c504d80932505815e1e3ecf02dd29c4e4d 100644 (file)
@@ -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
 
 
 #----------------------------------------------------------------------