]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/demo/HyperLinkCtrl.py
Fix "warning: operation on 'y' may be undefined".
[wxWidgets.git] / wxPython / demo / HyperLinkCtrl.py
index 31bc6efe11737e313064658cbc962759a14d512e..39866209608582971e829a326d6a5300650410cb 100644 (file)
@@ -54,7 +54,7 @@ class TestPanel(wx.Panel):
         self._hyper3.Bind(hl.EVT_HYPERLINK_RIGHT, self.OnRightLink)
         
         self._hyper3.SetLinkCursor(wx.CURSOR_QUESTION_ARROW)
-        self._hyper3.SetColours("GREEN", "RED", "YELLOW")
+        self._hyper3.SetColours("DARK GREEN", "RED", "NAVY")
         self._hyper3.SetUnderlines(False, False, False)
         self._hyper3.EnableRollover(True)
         self._hyper3.SetBold(True)