]> git.saurik.com Git - wxWidgets.git/commitdiff
flicker reduction for gtk2
authorRobin Dunn <robin@alldunn.com>
Mon, 2 May 2005 23:44:38 +0000 (23:44 +0000)
committerRobin Dunn <robin@alldunn.com>
Mon, 2 May 2005 23:44:38 +0000 (23:44 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33931 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

wxPython/wx/lib/mixins/listctrl.py

index 99cd83ee4a47800e616001a90857f7e17dd1c96f..c370663960b551c15910098f24a9402ab09ab12b 100644 (file)
@@ -226,7 +226,10 @@ class ListCtrlAutoWidthMixin:
 
             We automatically resize the last column in the list.
         """
 
             We automatically resize the last column in the list.
         """
-        wx.CallAfter(self._doResize)
+        if 'gtk2' in wx.PlatformInfo:
+            self._doResize()
+        else:
+            wx.CallAfter(self._doResize)
         event.Skip()
 
 
         event.Skip()