This works ok on Mac now
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41996 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -68,14 +68,8 @@ class TestPanel(wx.Panel):
|
|||||||
#----------------------------------------------------------------------
|
#----------------------------------------------------------------------
|
||||||
|
|
||||||
def runTest(frame, nb, log):
|
def runTest(frame, nb, log):
|
||||||
if wx.Platform == "__WXMAC__":
|
win = TestPanel(nb, log)
|
||||||
from Main import MessagePanel
|
return win
|
||||||
win = MessagePanel(nb, 'This demo currently fails on the Mac.',
|
|
||||||
'Sorry', wx.ICON_WARNING)
|
|
||||||
return win
|
|
||||||
else:
|
|
||||||
win = TestPanel(nb, log)
|
|
||||||
return win
|
|
||||||
|
|
||||||
#----------------------------------------------------------------------
|
#----------------------------------------------------------------------
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user