]> git.saurik.com Git - wxWidgets.git/blame - docs/latex/wx/upditer.tex
Resubmitted binary files that may been corrupted
[wxWidgets.git] / docs / latex / wx / upditer.tex
CommitLineData
a660d684
KB
1\section{\class{wxUpdateIterator}}\label{wxupdateiterator}
2
3This class is used to iterate through all damaged regions of a canvas, panel
4or dialog box, within an OnPaint call.
5
6To use it, construct an iterator object on the stack and loop through the
7regions, testing the object and incrementing the iterator at the end of the loop.
8
9See \helpref{wxScrolledWindow::OnPaint}{wxscrolledwindowonpaint} for an example of use.
10
11\wxheading{Derived from}
12
13\helpref{wxObject}{wxobject}
14
15\wxheading{See also}
16
17\helpref{wxScrolledWindow::OnPaint}{wxscrolledwindowonpaint}
18
19\latexignore{\rtfignore{\wxheading{Members}}}
20
21\membersection{wxUpdateIterator::wxUpdateIterator}
22
23\func{}{wxUpdateIterator}{\param{wxWindow* }{window}}
24
25Creates an iterator object.
26
27\membersection{wxUpdateIterator::GetX}
28
29\func{int}{GetX}{\void}
30
31Returns the x value for the current region.
32
33\membersection{wxUpdateIterator::GetY}
34
35\func{int}{GetY}{\void}
36
37Returns the y value for the current region.
38
39\membersection{wxUpdateIterator::GetWidth}
40
41\func{int}{GetWidth}{\void}
42
43Returns the width value for the current region.
44
45\membersection{wxUpdateIterator::GetHeight}
46
47\func{int}{GetWidth}{\void}
48
49Returns the width value for the current region.
50
51\membersection{wxUpdateIterator::operator $++$}
52
53\func{void}{operator $++$}{\void}
54
55Increments the iterator to the next region.
56
57