flicker reduction for gtk2

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33931 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robin Dunn
2005-05-02 23:44:38 +00:00
parent 42233acb1f
commit e31753ef6e

View File

@@ -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()