diff --git a/demo/Cairo.py b/demo/Cairo.py index 99dba034..d75470a5 100644 --- a/demo/Cairo.py +++ b/demo/Cairo.py @@ -155,9 +155,10 @@ class TestPanel(wx.Panel): if not haveCairo: from wx.lib.msgpanel import MessagePanel def runTest(frame, nb, log): - win = MessagePanel(nb, 'This demo requires the PyCairo package,\n' - 'or there is some other unmet dependency.', - 'Sorry', wx.ICON_WARNING) + win = MessagePanel( + nb, 'This demo requires either the PyCairo package or the,\n' + 'cairocffi package, or there is some other unmet dependency.', + 'Sorry', wx.ICON_WARNING) return win else: diff --git a/demo/Cairo_Snippets.py b/demo/Cairo_Snippets.py index 53672433..279b01a6 100644 --- a/demo/Cairo_Snippets.py +++ b/demo/Cairo_Snippets.py @@ -77,9 +77,10 @@ class TestPanel(wx.Panel): if not haveCairo: from wx.lib.msgpanel import MessagePanel def runTest(frame, nb, log): - win = MessagePanel(nb, 'This demo requires the Pycairo package,\n' - 'or there is some other unmet dependency.', - 'Sorry', wx.ICON_WARNING) + win = MessagePanel( + nb, 'This demo requires either the PyCairo package or the,\n' + 'cairocffi package, or there is some other unmet dependency.', + 'Sorry', wx.ICON_WARNING) return win else: