This class is used to iterate through all damaged regions of a canvas, panel or dialog box, within an OnPaint call.
To use it, construct an iterator object on the stack and loop through the regions, testing the object and incrementing the iterator at the end of the loop.
See wxCanvas::OnPaint for an example of use.
wxUpdateIterator::wxUpdateIterator
wxUpdateIterator::GetX
wxUpdateIterator::GetY
wxUpdateIterator::GetWidth
wxUpdateIterator::GetHeight
wxUpdateIterator::operator ++
void wxUpdateIterator(wxCanvas *canvas)
Creates an iterator object.
int GetX(void)
Returns the x value for the current region.
int GetY(void)
Returns the y value for the current region.
int GetWidth(void)
Returns the width value for the current region.
int GetWidth(void)
Returns the width value for the current region.
void operator ++(void)
Increments the iterator to the next region.