'minWidth' is the preferred minimum width for the last column.
"""
- self.resizeColumn(self, minWidth)
+ self.resizeColumn(minWidth)
def resizeColumn(self, minWidth):
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()