I have attached a sample code where I created a simple grid then deleted all of
its rows and columns using DeleteRows and DeleteCols. It seems that if I do an
InsertCols before InsertRows nothing happens on InsertCols (no column/s get
allocated).
I am using Mandrake Linux 9.1, python-2.2.2-6mdk and wxPythonGTK2-py2.2-2.4.1.2-1
I have attached a sample code where I created a simple grid then deleted all of
its rows and columns using DeleteRows and DeleteCols. It seems that if I do an
InsertCols before InsertRows nothing happens on InsertCols (no column/s get
allocated).
I am using Mandrake Linux 9.1, python-2.2.2-6mdk and wxPythonGTK2-py2.2-2.4.1.2-1
It works here with 2.4.2.4:
python gridtest.py
BEFORE DeleteRows: Rows: 10 Cols: 2
Deleting all rows and columns...
AFTER DeleteRows: Rows: 0 Cols: 0
Inserting Columns...
AFTER InsertCols: Rows: 0 Cols: 1
Inserting Rows...
AFTER InsertRows: Rows: 1 Cols: 1
ยทยทยท
--
Robin Dunn
Software Craftsman http://wxPython.org Java give you jitters? Relax with wxPython!