Some more demo tweaks

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25935 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robin Dunn
2004-02-24 02:01:04 +00:00
parent 632783de61
commit b4f1aaad5d
6 changed files with 30 additions and 12 deletions

View File

@@ -89,8 +89,17 @@ class TestPanel(wx.Panel):
#----------------------------------------------------------------------
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
#----------------------------------------------------------------------