Is the wxGrid on linux(wxGTK) at the same level of completeness as the
wxGrid on win9x? Yesterday I made the necessary changes to my grid code to
support the new grid. I was working on a win98 machine. After finishing, I
tried it on my Linux machine and got a segmentation fault. Ouch! I checked
out the demo on Linux. After playing around awhile, the wxGrid caused my
demo to segmentation fault as well. I also notice that the "editor and
renderers" demo looks nothing like the windows version. I can't find any
consistency in the demo's crashes to make any guess, but my app seems to
fault when I don't create the entire grid with CreateGrid() and use
AppendRows/AppendCols instead. Here's a code fragment:
def MakeChildGrid(self):
self.grid.CreateGrid(0,1)
row = 0
children = self.xmlnode.get_childNodes()
for c in children:
self.grid.AppendRows(1,false)
....
self.grid.SetColLabelValue(0,"name")
#the following line caused the fault!
self.grid.SetCellValue(row,0,name)
self.DoAttributes(row,c)
row = row + 1
I going to try and find some more specific scenarios in which I get the
fault, but I'm curious as to how the wxGRid on win98 compares to the wxGTK?
chris davis
chris@rpgarchive.com
http://www.rpgarchive.com
adventure database and open news forum
http://www.openrpg.com
check out OpenRPG! open source online rpg!