]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/demo/ListCtrl_edit.py
apparently the check for too small rect is needed not only with wxNB_MULTILINE (see...
[wxWidgets.git] / wxPython / demo / ListCtrl_edit.py
index cba1e24007610af2a053aa504edc85af62b2f536..eaa4ba0380476134e6e89a16a5d9c53722d76c30 100644 (file)
@@ -34,8 +34,7 @@ class TestListCtrl(wx.ListCtrl,
                  size=wx.DefaultSize, style=0):
         wx.ListCtrl.__init__(self, parent, ID, pos, size, style)
 
-        # Divide remaining space over all columns
-        listmix.ListCtrlAutoWidthMixin.__init__(self, 0, 3)
+        listmix.ListCtrlAutoWidthMixin.__init__(self)
         self.Populate()
         listmix.TextEditMixin.__init__(self)