From: Robin Dunn Date: Mon, 2 May 2005 23:44:38 +0000 (+0000) Subject: flicker reduction for gtk2 X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/e31753ef6e915fd8ee9b7689933bcebdcd78f36a flicker reduction for gtk2 git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33931 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/wxPython/wx/lib/mixins/listctrl.py b/wxPython/wx/lib/mixins/listctrl.py index 99cd83ee4a..c370663960 100644 --- a/wxPython/wx/lib/mixins/listctrl.py +++ b/wxPython/wx/lib/mixins/listctrl.py @@ -226,7 +226,10 @@ class ListCtrlAutoWidthMixin: 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()