Search found 39 matches

by james28909
Thu Jul 04, 2019 6:26 pm
Forum: C++ Development
Topic: wxGrid SetCellSize unbearably slow
Replies: 16
Views: 266

Re: wxGrid SetCellSize unbearably slow

well i was able to finally complete it. also, just wanted to say that it is written in perl using activestate perl 5.16.3 32bit. i do have the c++ lib installed as well and am getting into c++ programming in general, that would help with some limitations of wxperl itself. either way, thanks for the ...
by james28909
Tue Jul 02, 2019 7:50 pm
Forum: C++ Development
Topic: wxGrid SetCellSize unbearably slow
Replies: 16
Views: 266

Re: wxGrid SetCellSize unbearably slow

sure can, and i think thats what ill do, because i want those rows visible even though they dont have a description, because they are viewable channels. and actually, i think i can do away with alot of the columns as well. the more i have thought about it, the more i come to the realization that i d...
by james28909
Tue Jul 02, 2019 7:27 pm
Forum: C++ Development
Topic: wxGrid SetCellSize unbearably slow
Replies: 16
Views: 266

Re: wxGrid SetCellSize unbearably slow

well if i could build a grid with all rows already spanning all columns, then i could just SetCellSize foreach cell in the rows that do have information.
by james28909
Tue Jul 02, 2019 7:18 pm
Forum: C++ Development
Topic: wxGrid SetCellSize unbearably slow
Replies: 16
Views: 266

Re: wxGrid SetCellSize unbearably slow

hmm, is there a function that builds the grid with all rows already spanning all columns? then i could just insert my cells with title ect.

EDIT: or a way to enable cell lines per cell?
by james28909
Tue Jul 02, 2019 7:01 pm
Forum: C++ Development
Topic: wxGrid SetCellSize unbearably slow
Replies: 16
Views: 266

Re: wxGrid SetCellSize unbearably slow

hmm i already know that it is not a member of another cell span so maybe i can skip that check. but that would require rebuilding the complete library right? no big deal i guess. and this was not a release build.
by james28909
Tue Jul 02, 2019 6:07 pm
Forum: C++ Development
Topic: wxGrid SetCellSize unbearably slow
Replies: 16
Views: 266

Re: wxGrid SetCellSize unbearably slow

it is def setcellsize responsible. i can comment out that line and it builds the grid in 2-3 secs, so i fear that deriving from wxGridTableBase would end up with the same problem when setting the cell to span all cols. no matter how i create the grid, if i comment out the setcellsize, it builds VERY...
by james28909
Tue Jul 02, 2019 5:12 pm
Forum: C++ Development
Topic: wxGrid SetCellSize unbearably slow
Replies: 16
Views: 266

Re: wxGrid SetCellSize unbearably slow

hmm, that is an interesting point and i had thought about that but ended up using wxgrid. what i was hoping to do was making the wxgrid a child to a main frame/window. in the main window i wanted to show detailed info about the selected cell (each cell has the shows title). when a user single left c...
by james28909
Tue Jul 02, 2019 4:11 pm
Forum: C++ Development
Topic: wxGrid SetCellSize unbearably slow
Replies: 16
Views: 266

Re: wxGrid SetCellSize unbearably slow

First of all: Are you sure you need a wxGrid? Do the cells have to be editable? Do you need to display anything else but text? Did you look into wxListCtrl and wxDataViewCtrl? Calling SetCellSize() in this context doesn't make sense to me. I would expect a SetColSize(...) that sets the width of the...
by james28909
Mon Jul 01, 2019 9:08 pm
Forum: C++ Development
Topic: wxGrid SetCellSize unbearably slow
Replies: 16
Views: 266

wxGrid SetCellSize unbearably slow

Ok, I am writing a "tv guide" for xmltv data. i have all the data parsed and ready, and need to put it into the grid. psuedocode foreach(channel){ if (channel doesnt have guide data){ grid->SetCellSize(n, 0, 1, total_cols); // this is where the slowdown happens grid->SetCellValue(n, 0, "no title or ...