On Oct 9, 2007, at 12:27 PM, Paul McNett wrote:

> Once for each cell that wx determines needs to be repainted. The  
> root of
> the problem probably lies in calls by us somewhere asking wx to  
> refresh
> the grid completely, when it isn't required.

        That's the dicey part. I tried a simple callAfterInterval()  
construct to eliminate duplicate calls, but there is a lot of refresh 
() stuff that needs to be done at various times to keep the grid in  
sync. I'm working on refactoring those calls into the places that  
actually require them, which will allow us to eliminate a bunch of  
refresh() calls. I'm also working on improving the way we determine  
the renderer for a cell; we have a lot of code that checks for all  
sorts of dynamic and custom stuff on a row-by-row basis. I'm trying  
to set up a 'dirty' flag system so that we only have to determine  
this once per column unless one of the dynamic settings is changed.

-- Ed Leafe
-- http://leafe.com
-- http://dabodev.com




_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-users
Searchable Archives: http://leafe.com/archives/search/dabo-users
This message: http://leafe.com/archives/byMID/dabo-users/[EMAIL PROTECTED]

Reply via email to