]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/wx/lib/mixins/listctrl.py
replace complicated OS tests with simple ifdef EOVERFLOW in wxString::PrintfV()
[wxWidgets.git] / 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()