]> git.saurik.com Git - wxWidgets.git/commitdiff
Fixed problem with Calltip tab not refreshing properly on Windows.
authorPatrick K. O'Brien <pobrien@orbtech.com>
Sun, 8 Feb 2004 21:48:07 +0000 (21:48 +0000)
committerPatrick K. O'Brien <pobrien@orbtech.com>
Sun, 8 Feb 2004 21:48:07 +0000 (21:48 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25667 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

wxPython/wx/py/CHANGES.txt
wxPython/wx/py/crust.py

index 26d33cd4361f20703bb8a9b02e1f86c3f42f1c6e..eed5b74fee4c82fe462c773df762d96a552eb326 100644 (file)
@@ -7,6 +7,8 @@ Removed docs tabs from crust interface:
 * wxPython Docs
 * wxSTC Docs
 
 * wxPython Docs
 * wxSTC Docs
 
+Fixed Calltip tab refresh problem on Windows.
+
 
 0.9.3 (9/25/2003 to 1/24/2004)
 ------------------------------
 
 0.9.3 (9/25/2003 to 1/24/2004)
 ------------------------------
index e42d90206fb9a11872c6c4a8e3c2b1dedb9596fc..ef9d235804987fa088c36b7cadfae68fe051681a 100644 (file)
@@ -124,7 +124,9 @@ class Calltip(wx.TextCtrl):
 
     def display(self, calltip):
         """Receiver for Shell.calltip signal."""
 
     def display(self, calltip):
         """Receiver for Shell.calltip signal."""
-        self.SetValue(calltip)
+        ## self.SetValue(calltip)  # Caused refresh problem on Windows.
+        self.Clear()
+        self.AppendText(calltip)
 
 
 class SessionListing(wx.TextCtrl):
 
 
 class SessionListing(wx.TextCtrl):