-# 11/4/2003 - grimmtooth@softhome.net (Jeff Grimmett)
-#
-# o Modified for V2.5
-#
-# 11/24/2003 - grimmtooth@softhome.net (Jeff Grimmett)
-#
-# o Removed import of wx.help - now part of wx.core.
-#
import wx
#----------------------------------------------------------------------
def runTest(frame, nb, log):
- win = TestPanel(nb, log)
- return win
+ 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
#----------------------------------------------------------------------