From 5643bdef8ff16202d5948920947cf0f2c6f9c7d4 Mon Sep 17 00:00:00 2001 From: Robin Dunn Date: Fri, 13 May 2005 01:40:25 +0000 Subject: [PATCH] Some demo tweaks git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34041 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- wxPython/demo/HyperLinkCtrl.py | 2 +- wxPython/demo/StaticText.py | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) 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", -- 2.45.2