]> git.saurik.com Git - wxWidgets.git/commitdiff
Some demo tweaks
authorRobin Dunn <robin@alldunn.com>
Fri, 13 May 2005 01:40:25 +0000 (01:40 +0000)
committerRobin Dunn <robin@alldunn.com>
Fri, 13 May 2005 01:40:25 +0000 (01:40 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34041 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

wxPython/demo/HyperLinkCtrl.py
wxPython/demo/StaticText.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)
index 968c02e3c8a69b3a5667e81638d03589332b2650..52b738ee03d07917bc4372dcb05048625b3be64f 100644 (file)
@@ -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",