horizontal scrollbar can sometimes cause problems in this case.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41579
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
if not self: # avoid a PyDeadObject error
return
if not self: # avoid a PyDeadObject error
return
+
+ if self.GetSize().height < 32:
+ return # avoid an endless update bug when the height is small.
numCols = self.GetColumnCount()
if numCols == 0: return # Nothing to resize.
numCols = self.GetColumnCount()
if numCols == 0: return # Nothing to resize.