Full repaint of wxGrid' m_gridWin on scroll events?

Vadim Zeitlin vadim at wxwidgets.org
Wed Jan 2 05:54:20 PST 2008


On Wed, 2 Jan 2008 07:55:09 +0100 Petr Smilauer <petrsm at jcu.cz> wrote:

PS> is there any way to persuade the wxGrid class not to "optimise" repaint
PS> of the cell area by using the ::ScrollWindow API?

 I don't think so.

PS> This does not do the right thing in my case, because cells might change
PS> background colour depending on their position in visible part of the
PS> window (should have different colour in the topmost row and leftmost
PS> column).

 I see no other solution than refreshing them manually I'm afraid.

 Regards,
VZ

-- 
TT-Solutions: wxWidgets consultancy and technical support
               http://www.tt-solutions.com/




More information about the wx-users mailing list