diff --git a/wxPython/demo/HyperLinkCtrl.py b/wxPython/demo/HyperLinkCtrl.py index 31bc6efe11..3986620960 100644 --- a/wxPython/demo/HyperLinkCtrl.py +++ b/wxPython/demo/HyperLinkCtrl.py @@ -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) diff --git a/wxPython/demo/StaticText.py b/wxPython/demo/StaticText.py index 968c02e3c8..52b738ee03 100644 --- a/wxPython/demo/StaticText.py +++ b/wxPython/demo/StaticText.py @@ -36,7 +36,6 @@ class TestPanel(wx.Panel): text = StaticText(self, -1, str, (20, 120)) font = wx.Font(18, wx.SWISS, wx.NORMAL, wx.NORMAL) text.SetFont(font) - text.SetSize(text.GetBestSize()) StaticText(self, -1, "Multi-line wx.StaticText\nline 2\nline 3\n\nafter empty line",